GUI acceptance tests using environment deployed from packages.

Build: #2684 failed

Job: Onezone groups multiuser was successful

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

user fails to leave group from space because of lack in privileges[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user fails to leave group from space because of lack in privileges[1oz 1op deployed]" in build 2,684 of Onedata Products - gui acceptance pkg - Onezone groups multiuser.
Description
user fails to leave group from space because of lack in privileges[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_groups_multiuser
Method
test_user_fails_to_leave_group_from_space_because_of_lack_in_privileges[1oz_1op_deployed]
Jira Issue
Duration
1 min
Status
Failed (Existing Failure)

Error Log

RuntimeError: Css element wtih "Leave" text not found
request = <FixtureRequest for <Function 'test_user_fails_to_leave_group_from_space_because_of_lack_in_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-671>:2: in click_confirm_or_cancel_button_on_leave_space_page
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
tests/gui/steps/onezone/spaces.py:193: in click_confirm_or_cancel_button_on_leave_space_page
    getattr(modals(selenium[browser_id]).leave_modal, button_name.lower())()
tests/gui/utils/core/web_elements.py:58: in __get__
    elem = super(WebItem, self).__get__(instance, owner)
tests/gui/utils/core/web_elements.py:50: in __get__
    return find_web_elem_with_text(instance.web_elem,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="05e6687e6e41d9f8bddf8847ab7c5496", element="7babca26-950c-465e-bd4e-22a6f1706abd")>
css_sel = 'button', text = 'Leave'
err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7ff8136c7790>

    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 "Leave" text not found

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