GUI acceptance tests using environment deployed from packages.
Build: #2947 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 2,947 of Onedata Products - gui acceptance pkg - Onepanel two hosts deployment.
- 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
- 3 mins
- Status
- Failed (New Failure)
Error Log
RuntimeError: Css element with "Create a new cluster" text not found. <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f1acafddda0> fixturefunc = <function g_create_admin_in_panel at 0x7f1acba57ec0> request = <FixtureRequest for <Function test_cluster_deployment_with_2_hosts[1oz_1op_not_deployed_2_nodes]>> kwargs = {'browser_id_list': '[browser1, browser2]', 'onepanel': <class 'tests.gui.utils.onepanel.Onepanel'>, 'passphrase': 'pa... 'request': <SubRequest 'selenium' for <Function test_cluster_deployment_with_2_hosts[1oz_1op_not_deployed_2_nodes]>>}} def call_fixture_func( fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs ) -> FixtureValue: if is_generator(fixturefunc): fixturefunc = cast( Callable[..., Generator[FixtureValue, None, None]], fixturefunc ) generator = fixturefunc(**kwargs) try: fixture_result = next(generator) except StopIteration: raise ValueError(f"{request.fixturename} did not yield a value") from None finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator) request.addfinalizer(finalizer) else: fixturefunc = cast(Callable[..., FixtureValue], fixturefunc) > fixture_result = fixturefunc(**kwargs) /usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/steps/onepanel/deployment.py:28: in g_create_admin_in_panel init_page.create_new_cluster() tests/gui/utils/core/web_elements.py:60: in __get__ elem = super().__get__(instance, owner) tests/gui/utils/core/web_elements.py:50: in __get__ return find_web_elem_with_text( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="bd29968a55adcae67465b754bda171f6", element="E639B792D624BED72966E8E80A7E01DE_element_27")> css_sel = '.btn-primary', text = 'Create a new cluster' err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f1acafddda0> 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 > raise RuntimeError(f'Css element with "{text}" text not found. {err_msg}') E RuntimeError: Css element with "Create a new cluster" text not found. <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f1acafddda0> tests/gui/utils/generic.py:162: RuntimeError