GUI acceptance tests using environment deployed from packages.
Build: #1123 failed
Job: Onezone spaces basic 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 1,123 of Onedata Products - gui acceptance pkg - Chrome onezone spaces basic tests.
- 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_basic
- Method
- test_user_fails_to_see_privileges_of_another_user_until_he_is_granted_all_privileges_by_becoming_an_owner[1oz_1op_deployed]
- Duration
- 1 min
- Status
- Failed (Existing Failure)
Error Log
AssertionError: alert with text "Insufficient permissions" 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.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-710>:2: in see_insufficient_permissions_alert_for_member ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser_user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="c095314ada52fdd4d8011dc66af62f18")>, 'space...1dc66af62f18")>, 'user2': <selenium.webdriver.chrome.webdriver.WebDriver (session="8d66c7b501e0c907bf0b86448cd63585")>} browser_id = 'browser_user1' oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'>, where = 'space' member_name = 'user2', onepanel = <class 'tests.gui.utils.onepanel.Onepanel'> member_type = 'users', alert_text = 'Insufficient permissions' @wt(parsers.re('user of (?P<browser_id>.*) sees ' '(?P<alert_text>Insufficient permissions) alert ' 'for "(?P<member_name>.*)" (?P<member_type>user|group) ' 'in (?P<where>space|group|cluster) members subpage')) @repeat_failed(timeout=WAIT_FRONTEND) def see_insufficient_permissions_alert_for_member(selenium, browser_id, oz_page, where, member_name, onepanel, member_type, alert_text): driver = selenium[browser_id] member_type = member_type + 's' page = _find_members_page(onepanel, oz_page, driver, where) members_list = getattr(page, member_type) forbidden_alert = members_list.items[member_name].forbidden_alert.text assert alert_text in forbidden_alert, ( > 'alert with text "{}" not found'.format(alert_text)) E AssertionError: alert with text "Insufficient permissions" not found tests/gui/steps/onezone/members.py:586: AssertionError