GUI acceptance tests using environment deployed from packages.
Build: #2886 failed
Job: Onezone spaces memberships privileges failed
user fails to see privileges of another user until he is granted all privileges by becoming an owner[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user fails to see privileges of another user until he is granted all privileges by becoming an owner[1oz 1op deployed]" in build 2,886 of Onedata Products - gui acceptance pkg - Onezone spaces memberships privileges.
- Description
- user fails to see privileges of another user until he is granted all privileges by becoming an owner[1oz 1op deployed]
- Test class
- gui.scenarios.test_onezone_spaces_memberships_privileges
- Method
- test_user_fails_to_see_privileges_of_another_user_until_he_is_granted_all_privileges_by_becoming_an_owner[1oz_1op_deployed]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: alert with text "This user is a space owner and is authorized to perform all operations, regardless of the assigned privileges." not found request = <FixtureRequest for <Function 'test_user_fails_to_see_privileges_of_another_user_until_he_is_granted_all_privileges_by_becoming_an_owner[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-919>:2: in assert_ownership_privileges_warning_appeared_for_user ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="fd5bec87e37423d619ee90b73bb360b0")>, 'space_owner_browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="dc2e4dfe920e5fe605a0455f0b5959af")>} browser_id = 'browser_user1' oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>, username = 'user1' alert_text = 'This user is a space owner and is authorized to perform all operations, regardless of the assigned privileges.' @wt(parsers.re('user of (?P<browser_id>.*) sees "(?P<alert_text>This user is a ' 'space owner and is authorized to perform all operations, ' 'regardless of the assigned privileges.)" warning ' 'for "(?P<username>.*)" user in space members subpage')) @repeat_failed(timeout=WAIT_FRONTEND) def assert_ownership_privileges_warning_appeared_for_user(selenium, browser_id, oz_page, username, alert_text): driver = selenium[browser_id] members_list = oz_page(driver)['data'].members_page.users error_msg = f'alert with text "{alert_text}" not found' ownership_warning = members_list.items[username].ownership_warning.text > assert alert_text in ownership_warning, error_msg E AssertionError: alert with text "This user is a space owner and is authorized to perform all operations, regardless of the assigned privileges." not found tests/gui/steps/onezone/members.py:836: AssertionError