GUI acceptance tests using environment deployed from packages.

Build: #2520 failed

Job: Onezone groups basic failed

Stages & jobs

  1. Acceptance Test

user checks effective memberships[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user checks effective memberships[1oz 1op deployed]" in build 2,520 of Onedata Products - gui acceptance pkg - Onezone groups basic.
Description
user checks effective memberships[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_groups_basic
Method
test_user_checks_effective_memberships[1oz_1op_deployed]
Jira Issue
Duration
57 secs
Status
Failed (New Failure)

Error Log

RuntimeError: not found "user1" user as a member of "group1" group
request = <FixtureRequest for <Function 'test_user_checks_effective_memberships[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-771>:2: in assert_element_is_member_of_parent_in_memberships
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="817f8c2bdad77d6d953079d28422804d")>}
browser_id = 'browser', member_name = 'user1', parent_name = 'group1'
member_type = 'user', parent_type = 'group'
oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>, where = 'groups'

    @wt(parsers.re('user of (?P<browser_id>.*) sees that "(?P<member_name>.*)" '
                   '(?P<member_type>user|group) is member of '
                   '"(?P<parent_name>.*)" (?P<parent_type>space|group) '
                   'in (?P<where>space|group) memberships mode'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_element_is_member_of_parent_in_memberships(selenium, browser_id,
                                                          member_name, parent_name,
                                                          member_type, parent_type,
                                                          oz_page, where):
        driver = selenium[browser_id]
        where = _change_to_tab_name(where)
        records = oz_page(driver)[where].members_page.memberships
    
        def fun(record, member_index):
            if member_type != 'user':
                return True
            elif member_index == 0:
                return True
            return False
    
        if not search_for_members(records, member_name, parent_name, fun):
>           raise RuntimeError(
                'not found "{}" {} as a member of "{}" {}'.format(member_name,
                                                                  member_type,
                                                                  parent_name,
                                                                  parent_type))
E           RuntimeError: not found "user1" user as a member of "group1" group

tests/gui/steps/onezone/members.py:102: RuntimeError