GUI acceptance tests using environment deployed from packages.
Build: #1961 failed
Job: Onezone tokens delete failed
user successfully deletes selected obsolete token[1oz 2op elasticsearch-invite token 1-invite token 2]: Test case result
The below summarizes the result of the test " user successfully deletes selected obsolete token[1oz 2op elasticsearch-invite token 1-invite token 2]" in build 1,961 of Onedata Products - gui acceptance pkg - Chrome onezone tokens delete.
- Description
- user successfully deletes selected obsolete token[1oz 2op elasticsearch-invite token 1-invite token 2]
- Test class
- gui.scenarios.test_onezone_tokens_delete
- Method
- test_user_successfully_deletes_selected_obsolete_token[1oz_2op_elasticsearch-invite_token_1-invite_token_2]
- Duration
- 3 mins
- Status
- Failed (New Failure)
Error Log
RuntimeError: cannot click on button btn with "Create token" text in Create new token page request = <FixtureRequest for <Function 'test_user_successfully_deletes_selected_obsolete_token[1oz_2op_elasticsearch-invite_token_1-invite_token_2]'>> @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:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-1037>:2: in create_token_with_config ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/onezone/tokens.py:226: in create_token_with_config popups, users, groups, hosts, tmp_memory) tests/gui/meta_steps/onezone/tokens.py:266: in _create_token_with_config oz_page) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-295>:2: in click_create_token_button_in_create_token_page ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/gui/steps/onezone/tokens.py:114: in click_create_token_button_in_create_token_page oz_page(driver)['tokens'].create_token_page.create_token() tests/gui/utils/core/web_objects.py:21: in __call__ self.click() tests/gui/utils/core/base.py:82: in click lambda: 'cannot click on {}'.format(self)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="b3c4749c8a1dbe027619ea13d95c3b86")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="b3c4749c8a1dbe027619ea13d95c3b86", element="381ffc19-d9e0-4d8b-9aaa-13d3f6139d92")> err_msg = 'cannot click on button btn with "Create token" text in Create new token page' delay = True def click_on_web_elem(driver, web_elem, err_msg, delay=True): disabled = 'disabled' in web_elem.get_attribute('class') # scroll to make the element visible if not web_elem.is_displayed(): web_elem.location_once_scrolled_into_view if web_elem.is_enabled() and web_elem.is_displayed() and not disabled: # TODO VFS-7484 make optional sleep and localize only those tests that need it or find better alternative # currently checking if elem is enabled not always work (probably after striping disabled from web elem # elem is not immediately clickable) if delay: sleep(delay if isinstance(delay, float) else 0.25) action = ActionChains(driver) action.move_to_element(web_elem).click_and_hold(web_elem).release(web_elem) action.perform() else: with suppress(TypeError): err_msg = err_msg() > raise RuntimeError(err_msg) E RuntimeError: cannot click on button btn with "Create token" text in Create new token page tests/gui/utils/generic.py:137: RuntimeError