GUI acceptance tests using environment deployed from packages.
Build: #1122 failed
Job: Onezone groups basic failed
user fails to see privileges without view privileges[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user fails to see privileges without view privileges[1oz 1op deployed]" in build 1,122 of Onedata Products - gui acceptance pkg - Chrome onezone groups basic tests.
- Description
- user fails to see privileges without view privileges[1oz 1op deployed]
- Test class
- gui.scenarios.test_onezone_groups_basic
- Method
- test_user_fails_to_see_privileges_without_view_privileges[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_without_view_privileges[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': <selenium.webdriver.chrome.webdriver.WebDriver (session="4bfe682b5c188271c312ac626181de28")>} browser_id = 'browser', oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> where = 'group', 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