GUI acceptance tests using environment deployed from packages.
Build: #1669 failed
Job: Onepanel two hosts deployment failed
cluster deployment with 2 hosts[1oz 1op not deployed 2 nodes]: Test case result
The below summarizes the result of the test " cluster deployment with 2 hosts[1oz 1op not deployed 2 nodes]" in build 1,669 of Onedata Products - gui acceptance pkg - Chrome onepanel two hosts deployment tests.
- Description
- cluster deployment with 2 hosts[1oz 1op not deployed 2 nodes]
- Test class
- gui.scenarios.test_onepanel_deployment_with_2_hosts
- Method
- test_cluster_deployment_with_2_hosts[1oz_1op_not_deployed_2_nodes]
- Jira Issue
-
- Duration
- 12 mins
- Status
- Failed (New Failure)
Error Log
RuntimeError: cannot click on button btn in Step 1: Cluster Installation deployment step in content in request = <FixtureRequest for <Function 'test_cluster_deployment_with_2_hosts[1oz_1op_not_deployed_2_nodes]'>> @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-149>:2: in wt_click_on_btn_in_deployment_step ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) tests/gui/steps/onepanel/deployment.py:138: in wt_click_on_btn_in_deployment_step getattr(step, transform(btn)).click() tests/gui/utils/core/base.py:82: in click lambda: 'cannot click on {}'.format(self)) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ driver = <selenium.webdriver.chrome.webdriver.WebDriver (session="222ddae3cf7809b6ee3dffb001f6f634")> web_elem = <selenium.webdriver.remote.webelement.WebElement (session="222ddae3cf7809b6ee3dffb001f6f634", element="18665356-c2f5-400c-acc5-4bfa2338e9a0")> err_msg = 'cannot click on button btn in Step 1: Cluster Installation deployment step in content in ' 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 Step 1: Cluster Installation deployment step in content in tests/gui/utils/generic.py:131: RuntimeError