GUI acceptance tests using environment deployed from packages.
Build: #1938 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,938 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
- 7 mins
- Status
- Failed (New Failure)
Error Log
RuntimeError: Css element wtih "Create a new cluster" text not found 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) /usr/local/lib/python3.6/dist-packages/pytest_bdd/steps.py:162: in step_func result = request.getfixturevalue(func.__name__) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:428: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:795: in execute return hook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:617: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:222: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:216: in <lambda> firstresult=hook.spec_opts.get('firstresult'), /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:718: in call_fixture_func res = fixturefunc(**kwargs) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/steps/onepanel/deployment.py:25: in g_create_admin_in_panel init_page.create_new_cluster() tests/gui/utils/core/web_elements.py:58: in __get__ elem = super(WebItem, self).__get__(instance, owner) tests/gui/utils/core/web_elements.py:52: in __get__ lambda: self._format_msg(err_msg, instance, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="cd6da93ea3f5c9abd65c8dd1a809fe8d", element="da853042-25da-44ff-abdf-28a8e16acc50")> css_sel = '.btn-primary', text = 'Create a new cluster' err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7fe244edeae8> def find_web_elem_with_text(web_elem_root, css_sel, text, err_msg): items = web_elem_root.find_elements_by_css_selector(css_sel) _scroll_to_css_sel(web_elem_root, css_sel) for item in items: if item.text.lower() == text.lower(): return item else: > raise RuntimeError(f'Css element wtih "{text}" text not found') E RuntimeError: Css element wtih "Create a new cluster" text not found tests/gui/utils/generic.py:117: RuntimeError