GUI acceptance tests using environment deployed from packages.
Build: #1108 failed
Job: Onepanel members 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,108 of Onedata Products - gui acceptance pkg - Chrome onepanel members tests.
- Description
- user fails to see privileges without view privileges[1oz 1op deployed]
- Test class
- gui.scenarios.test_onepanel_members
- Method
- test_user_fails_to_see_privileges_without_view_privileges[1oz_1op_deployed]
- Duration
- 6 mins
- Status
- Failed (New 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-752>:2: in see_insufficient_permissions_alert_for_member ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="8950c15db7d612abf316235af4af9037")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="4dc0493f1b63a83ebb2b76a1a9bddd30")>} browser_id = 'browser2', oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> where = 'cluster', member_name = 'admin' 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:580: AssertionError