GUI acceptance tests using environment deployed from packages.
Build: #1136 failed
Job: Onezone groups multiuser failed
user joins group using invitation token[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user joins group using invitation token[1oz 1op deployed]" in build 1,136 of Onedata Products - gui acceptance pkg - Chrome onezone groups multiuser tests.
- Description
- user joins group using invitation token[1oz 1op deployed]
- Test class
- gui.scenarios.test_onezone_groups_multiuser
- Method
- test_user_joins_group_using_invitation_token[1oz_1op_deployed]
- Duration
- 7 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: user "user1" not found on group "group1" members list selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="267f52de508c06dfa4356348cdd13565")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="cf7bf1e113502a493a95f489e7723f08")>} browser_id = 'space_owner_browser', option = 'sees', member_name = 'user1' member_type = 'user', parent_name = 'group1', parent_type = 'group' oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> onepanel = <class 'tests.gui.utils.onepanel.Onepanel'> @wt(parsers.re('user of (?P<browser_id>.*) (?P<option>does not see|sees) ' '"(?P<member_name>.*)" (?P<member_type>user|group) ' 'on "(?P<parent_name>.*)" (' '?P<parent_type>user|group|space|cluster) ' 'members list')) @repeat_failed(timeout=WAIT_FRONTEND) def assert_member_is_in_parent_members_list(selenium, browser_id, option, member_name, member_type, parent_name, parent_type, oz_page, onepanel): driver = selenium[browser_id] page = _find_members_page(onepanel, oz_page, driver, parent_type) try: if member_type == 'user': > page.users.items[member_name] tests/gui/steps/onezone/members.py:342: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.gui.utils.core.web_objects.PageObjectsSequence object at 0x7f8afcd84dd8> sel = 'user1' def __getitem__(self, sel): if isinstance(sel, int): item = self._getitem_by_idx(sel) if item: return self.cls(self.driver, item, self.parent) else: raise RuntimeError('Index out of bound. Requested item at ' '{idx} while limit is {limit} in ' '{parent}'.format(idx=sel, limit=len(self), parent=self.parent)) elif isinstance(sel, str): item = self._getitem_by_id(sel) if item: return item else: raise RuntimeError('no "{id}" found in ' '{parent}'.format(id=sel, > parent=self.parent)) E RuntimeError: no "user1" found in MembersList in MembersPage in GroupsPage in Onezone page tests/gui/utils/core/web_objects.py:85: RuntimeError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_joins_group_using_invitation_token[1oz_1op_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:76: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-694>:2: in assert_member_is_in_parent_members_list ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="267f52de508c06dfa4356348cdd13565")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="cf7bf1e113502a493a95f489e7723f08")>} browser_id = 'space_owner_browser', option = 'sees', member_name = 'user1' member_type = 'user', parent_name = 'group1', parent_type = 'group' oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> onepanel = <class 'tests.gui.utils.onepanel.Onepanel'> @wt(parsers.re('user of (?P<browser_id>.*) (?P<option>does not see|sees) ' '"(?P<member_name>.*)" (?P<member_type>user|group) ' 'on "(?P<parent_name>.*)" (' '?P<parent_type>user|group|space|cluster) ' 'members list')) @repeat_failed(timeout=WAIT_FRONTEND) def assert_member_is_in_parent_members_list(selenium, browser_id, option, member_name, member_type, parent_name, parent_type, oz_page, onepanel): driver = selenium[browser_id] page = _find_members_page(onepanel, oz_page, driver, parent_type) try: if member_type == 'user': page.users.items[member_name] else: page.groups.items[member_name] except RuntimeError: assert option == 'does not see', ('{} "{}" not found on {} "{}" ' 'members list'.format(member_type, member_name, parent_type, > parent_name)) E AssertionError: user "user1" not found on group "group1" members list tests/gui/steps/onezone/members.py:350: AssertionError