Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1083 failed
Job: Spaces basic failed
user invites other user to space using client1 that user joins to space using client2 and using client3 he sees that he has joined to new space[1oz 1op 1oc-web GUi-web GUi-RESt]: Test case result
The below summarizes the result of the test " user invites other user to space using client1 that user joins to space using client2 and using client3 he sees that he has joined to new space[1oz 1op 1oc-web GUi-web GUi-RESt]" in build 1,083 of Onedata Products - mixed acceptance pkg - Chrome spaces basic tests.
- Description
- user invites other user to space using client1 that user joins to space using client2 and using client3 he sees that he has joined to new space[1oz 1op 1oc-web GUi-web GUi-RESt]
- Test class
- mixed.scenarios.test_spaces_basic
- Method
- test_user_invites_other_user_to_space_using_client1_that_user_joins_to_space_using_client2_and_using_client3_he_sees_that_he_has_joined_to_new_space[1oz_1op_1oc-web GUI-web GUI-REST]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: user "user1" not found on space "space1" members list selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="e45c36349340faddf1a4dedda1729f3e")>, 'user1': <s...dedda1729f3e")>, 'user2': <selenium.webdriver.chrome.webdriver.WebDriver (session="dda4539f08edc983778dcb24ea16a414")>} browser_id = 'user2', option = 'sees', member_name = 'user1' member_type = 'user', parent_name = 'space1', parent_type = 'space' 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 0x7f94d774ae80> 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 DataPage 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_invites_other_user_to_space_using_client1_that_user_joins_to_space_using_client2_and_using_client3_he_sees_that_he_has_joined_to_new_space[1oz_1op_1oc-web GUI-web GUI-REST]'>> @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/mixed/steps/space_basic.py:323: in assert_user_is_member_of_space user_list, onepanel) tests/gui/meta_steps/onezone/spaces.py:230: in assert_user_is_member_of_space_gui oz_page, onepanel) tests/utils/bdd_utils.py:76: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-890>:2: in assert_member_is_in_parent_members_list ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="e45c36349340faddf1a4dedda1729f3e")>, 'user1': <s...dedda1729f3e")>, 'user2': <selenium.webdriver.chrome.webdriver.WebDriver (session="dda4539f08edc983778dcb24ea16a414")>} browser_id = 'user2', option = 'sees', member_name = 'user1' member_type = 'user', parent_name = 'space1', parent_type = 'space' 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 space "space1" members list tests/gui/steps/onezone/members.py:350: AssertionError