GUI acceptance tests using environment deployed from packages.

Build: #1967 failed

Job: QoS storage failed

Stages & jobs

  1. Acceptance Test

a qos requirement is met after removing the parameter and adding it again[1oz 2op deployed]: Test case result

The below summarizes the result of the test " a qos requirement is met after removing the parameter and adding it again[1oz 2op deployed]" in build 1,967 of Onedata Products - gui acceptance pkg - Chrome QoS storage.
Description
a qos requirement is met after removing the parameter and adding it again[1oz 2op deployed]
Test class
gui.scenarios.test_qos_storage
Method
test_a_qos_requirement_is_met_after_removing_the_parameter_and_adding_it_again[1oz_2op_deployed]
Jira Issue
Duration
3 mins
Status
Failed (Existing Failure)

Error Log

RuntimeError: Css element wtih "Save" text not found
request = <FixtureRequest for <Function 'test_a_qos_requirement_is_met_after_removing_the_parameter_and_adding_it_again[1oz_2op_deployed]'>>

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

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.6/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-1145>:2: in add_qos_requirement_in_modal
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
tests/gui/meta_steps/oneprovider/qos.py:65: in add_qos_requirement_in_modal
    replicas_number)
tests/gui/meta_steps/oneprovider/qos.py:49: in _add_qos_requirement_in_modal
    click_modal_button(selenium, browser_id, save_button, modal, modals)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-481>:2: in click_modal_button
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/modal.py:314: in click_modal_button
    getattr(getattr(modals(selenium[browser_id]), modal), button)()
tests/gui/utils/core/web_elements.py:58: in __get__
    elem = super(WebItem, self).__get__(instance, owner)
tests/gui/utils/core/web_elements.py:52: in __get__
    lambda: self._format_msg(err_msg, instance,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="6436dd7f79b73505bc43d5e1feb519ee", element="6ce99e54-a06e-471b-9a3e-e92218ca6724")>
css_sel = '.ready', text = 'Save'
err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7fcbfc9f4e18>

    def find_web_elem_with_text(web_elem_root, css_sel, text, err_msg):
        items = web_elem_root.find_elements_by_css_selector(css_sel)
        _scroll_to_css_sel(web_elem_root, css_sel)
        for item in items:
            if item.text.lower() == text.lower():
                return item
        else:
>           raise RuntimeError(f'Css element wtih "{text}" text not found')
E           RuntimeError: Css element wtih "Save" text not found

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