Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2145 failed
Job: LUMA failed
using client1 user can create file after getting token with expiration time set in caveat created by web gui[1oz 1op 1oc-oneclient1]: Test case result
The below summarizes the result of the test " using client1 user can create file after getting token with expiration time set in caveat created by web gui[1oz 1op 1oc-oneclient1]" in build 2,145 of Onedata Products - mixed acceptance pkg - Chrome access tokens.
- Description
- using client1 user can create file after getting token with expiration time set in caveat created by web gui[1oz 1op 1oc-oneclient1]
- Test class
- mixed.scenarios.test_access_tokens
- Method
- test_using_client1_user_can_create_file_after_getting_token_with_expiration_time_set_in_caveat_created_by_web_gui[1oz_1op_1oc-oneclient1]
- Duration
- 2 mins
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: cannot click on button btn with "Create token" text in Create new token page request = <FixtureRequest for <Function 'test_using_client1_user_can_create_file_after_getting_token_with_expiration_time_set_in_caveat_created_by_web_gui[1oz_1op_1oc-oneclient1]'>> @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) tests/mixed/steps/tokens_basic.py:34: in create_token users, groups, hosts, tmp_memory) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-721>: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-655>: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="0f42a61281ea93768fd031672bc7b537")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="0f42a61281ea93768fd031672bc7b537", element="0ad1c626-a356-485d-a4e1-faa0bb8e5a94")> 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