GUI acceptance tests using environment deployed from packages.
Build: #768 failed
Job: Onepanel basic failed
user fails to modify cluster without modify cluster privileges[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user fails to modify cluster without modify cluster privileges[1oz 1op deployed]" in build 768 of Onedata Products - gui acceptance pkg - Chrome onepanel basic tests.
- Description
- user fails to modify cluster without modify cluster privileges[1oz 1op deployed]
- Test class
- gui.scenarios.test_onepanel_basic
- Method
- test_user_fails_to_modify_cluster_without_modify_cluster_privileges[1oz_1op_deployed]
- Jira Issue
-
- Duration
- 5 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: Modal does not contain text "Forbidden" request = <FixtureRequest for <Function 'test_user_fails_to_modify_cluster_without_modify_cluster_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) <decorator-gen-556>:2: in assert_error_modal_with_text_appeared ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="647550ddcd6472f1e0241ac420fa41ff")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="b46c862670e2a99ca0ea473b29f3da88")>} browser_id = 'browser2', text = 'Forbidden' oz_page = <class 'tests.gui.utils.onezone.OZLoggedIn'> @wt(parsers.parse('user of {browser_id} sees that error modal with ' 'text "{text}" appeared')) @repeat_failed(timeout=WAIT_FRONTEND) def assert_error_modal_with_text_appeared(selenium, browser_id, text, oz_page): message = 'Modal does not contain text "{}"'.format(text) modal_text = modals(selenium[browser_id]).error.content.lower() > assert text.lower() in modal_text, message E AssertionError: Modal does not contain text "Forbidden" tests/gui/steps/onezone/groups.py:138: AssertionError