GUI acceptance tests using environment deployed from packages.

Build: #2523 failed

Job: Onepanel ceph spaces was successful

Stages & jobs

  1. Acceptance Test

user supports space with newly created embedded ceph with 2 pools[1oz 1op not deployed embedded ceph]: Test case result

The below summarizes the result of the test " user supports space with newly created embedded ceph with 2 pools[1oz 1op not deployed embedded ceph]" in build 2,523 of Onedata Products - gui acceptance pkg - Onepanel ceph spaces.
Description
user supports space with newly created embedded ceph with 2 pools[1oz 1op not deployed embedded ceph]
Test class
gui.scenarios.test_onepanel_ceph_spaces
Method
test_user_supports_space_with_newly_created_embedded_ceph_with_2_pools[1oz_1op_not_deployed_embedded_ceph]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

RuntimeError: Css element wtih "Create a new cluster" text not found
request = <FixtureRequest for <Function 'test_user_supports_space_with_newly_created_embedded_ceph_with_2_pools[1oz_1op_not_deployed_embedded_ceph]'>>

    @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)
/usr/local/lib/python3.8/dist-packages/pytest_bdd/steps.py:162: in step_func
    result = request.getfixturevalue(func.__name__)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:428: in getfixturevalue
    return self._get_active_fixturedef(argname).cached_result[0]
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef
    self._compute_fixture_value(fixturedef)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value
    fixturedef.execute(request=subrequest)
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:795: in execute
    return hook.pytest_fixture_setup(fixturedef=self, request=request)
/usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:617: in __call__
    return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
/usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:222: in _hookexec
    return self._inner_hookexec(hook, methods, kwargs)
/usr/local/lib/python3.8/dist-packages/pluggy/__init__.py:214: in <lambda>
    hook.multicall(
/usr/local/lib/python3.8/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup
    result = call_fixture_func(fixturefunc, request, kwargs)
/usr/local/lib/python3.8/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:50: in __get__
    return find_web_elem_with_text(instance.web_elem,
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="b9fedd539f7e2050dbce7589c6571bd7", element="1f578c0e-08f6-4d11-a70c-6c252de384fc")>
css_sel = '.btn-primary', text = 'Create a new cluster'
err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f9161ffdd30>

    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:118: RuntimeError