GUI acceptance tests using environment deployed from packages.
Build: #1941 failed
Job: Onepanel two hosts deployment was successful
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,941 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
- 5 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="e96de97c9f5fb4c91f98f41282a528c5", element="be1a028d-cbe9-4293-9bce-e03a3058135e")> css_sel = '.btn-primary', text = 'Create a new cluster' err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f60a7c467b8> 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