GUI acceptance tests using environment deployed from packages.
Build: #2761 failed
Job: Onezone tokens failed
user successfully creates access token with all caveats[1oz 2op elasticsearch]: Test case result
The below summarizes the result of the test " user successfully creates access token with all caveats[1oz 2op elasticsearch]" in build 2,761 of Onedata Products - gui acceptance pkg - Onezone tokens.
- Description
- user successfully creates access token with all caveats[1oz 2op elasticsearch]
- Test class
- gui.scenarios.test_onezone_tokens
- Method
- test_user_successfully_creates_access_token_with_all_caveats[1oz_2op_elasticsearch]
- Jira Issue
-
- Duration
- 3 mins
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: cannot click on button btn in Consumer caveat popup request = <FixtureRequest for <Function 'test_user_successfully_creates_access_token_with_all_caveats[1oz_2op_elasticsearch]'>> @pytest.mark.usefixtures(*function_args) def scenario_wrapper(request): > _execute_scenario(feature, scenario, request, encoding) /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/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-1167>:2: in create_token_with_config ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/gui/meta_steps/onezone/tokens.py:227: in create_token_with_config _create_token_with_config(selenium, browser_id, config, oz_page, tests/gui/meta_steps/onezone/tokens.py:265: in _create_token_with_config _set_tokens_caveats(selenium, browser_id, oz_page, caveats, popups, tests/gui/meta_steps/onezone/tokens.py:308: in _set_tokens_caveats caveat.set_service_caveats(selenium, browser_id, service_caveats, tests/gui/utils/onezone/token_caveats.py:202: in set_service_caveats self.set_service_in_service_caveat(selenium, browser_id, tests/gui/utils/onezone/token_caveats.py:215: in set_service_in_service_caveat popup.list_option() tests/gui/utils/core/web_objects.py:21: in __call__ self.click() tests/gui/utils/core/base.py:81: in click click_on_web_elem(self.driver, self._click_area, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="d28adfe29ab5b367cdd479abe8ff7fad")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="d28adfe29ab5b367cdd479abe8ff7fad", element="34e88c15-b889-4f9e-99f3-eb7fbf087ffb")> err_msg = 'cannot click on button btn in Consumer caveat popup', 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 in Consumer caveat popup tests/gui/utils/generic.py:153: RuntimeError