GUI acceptance tests using environment deployed from packages.

Build: #2628 failed

Job: Onezone spaces memberships privileges data failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

nonspaceowner successfully manages qos if he got qos management privileges[1oz 1op deployed]: Test case result

The below summarizes the result of the test " nonspaceowner successfully manages qos if he got qos management privileges[1oz 1op deployed]" in build 2,628 of Onedata Products - gui acceptance pkg - Onezone spaces memberships privileges data.
Description
nonspaceowner successfully manages qos if he got qos management privileges[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_spaces_memberships_privileges_data
Method
test_nonspaceowner_successfully_manages_qos_if_he_got_qos_management_privileges[1oz_1op_deployed]
Jira Issue
Duration
3 mins
Status
Failed (New Failure)

Error Log

RuntimeError: cannot click on button btn with "Add requirement" text in QoS tab
request = <FixtureRequest for <Function 'test_nonspaceowner_successfully_manages_qos_if_he_got_qos_management_privileges[1oz_1op_deployed]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-1225>:2: in add_qos_requirement_in_modal
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/oneprovider/qos.py:65: in add_qos_requirement_in_modal
    _add_qos_requirement_in_modal(selenium, browser_id, modals, item_name,
tests/gui/meta_steps/oneprovider/qos.py:41: in _add_qos_requirement_in_modal
    click_panel_button(selenium, browser_id, add_button, panel, modals)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-493>:2: in click_panel_button
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/modals/modal.py:345: in click_panel_button
    getattr(modal, transform(button))()
tests/gui/utils/core/web_objects.py:21: in __call__
    self.click()
tests/gui/utils/core/base.py:81: in click
    click_on_web_elem(self.driver, self._click_area,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="4bfd294e4f7c602e80b7b350ed619034")>
web_elem = <selenium.webdriver.remote.webelement.WebElement (session="4bfd294e4f7c602e80b7b350ed619034", element="cf5f9097-2062-4303-b8e2-9570a49cad69")>
err_msg = 'cannot click on button btn with "Add requirement" text in QoS tab'
delay = True

    def click_on_web_elem(driver, web_elem, err_msg, delay=True):
        disabled = 'disabled' in web_elem.get_attribute('class')
        # scroll to make the element visible
        if not web_elem.is_displayed():
            web_elem.location_once_scrolled_into_view
        if web_elem.is_enabled() and web_elem.is_displayed() and not disabled:
            # TODO VFS-7484 make optional sleep and localize only those tests
            #  that need it or find better alternative
            # currently checking if elem is enabled not always work
            # (probably after striping disabled from web elem
            # elem is not immediately clickable)
            if delay:
                sleep(delay if isinstance(delay, float) else 0.25)
            action = ActionChains(driver)
            action.move_to_element(web_elem).click_and_hold(web_elem).release(
                web_elem)
            action.perform()
        else:
            with suppress(TypeError):
                err_msg = err_msg()
>           raise RuntimeError(err_msg)
E           RuntimeError: cannot click on button btn with "Add requirement" text in QoS tab

tests/gui/utils/generic.py:153: RuntimeError