GUI acceptance tests using environment deployed from packages.

Build: #2942 failed

Job: Multiprovider QoS storage failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees matching storages count changing while editing nested expression in qos visual editor and submits the expression successfully[1oz 2op deployed]: Test case result

The below summarizes the result of the test " user sees matching storages count changing while editing nested expression in qos visual editor and submits the expression successfully[1oz 2op deployed]" in build 2,942 of Onedata Products - gui acceptance pkg - Multiprovider QoS storage.
Description
user sees matching storages count changing while editing nested expression in qos visual editor and submits the expression successfully[1oz 2op deployed]
Test class
gui.scenarios.test_multiprovider_qos_storage
Method
test_user_sees_matching_storages_count_changing_while_editing_nested_expression_in_qos_visual_editor_and_submits_the_expression_successfully[1oz_2op_deployed]
Duration
5 mins
Status
Failed (New Failure)

Error Log

AssertionError: no info notify with ".*[Ss]torage.*added.*" msg found
fixturefunc = <function add_storage_in_op_panel_using_gui at 0x7ff9d3f94540>
request = <FixtureRequest for <Function test_user_sees_matching_storages_count_changing_while_editing_nested_expression_in_qos_visual_editor_and_submits_the_expression_successfully[1oz_2op_deployed]>>
kwargs = {'browser_id': 'browser_emergency', 'config': 'storage type: POSIX\nmount point: /volumes/posix', 'hosts': {'oneprovid...v-onezone.default.svc.cluster.local', 'ip': '10.244.192.21', 'name': 'dev-onezone', ...}}, 'name': 'test_storage', ...}

    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/meta_steps/onepanel/storages.py:86: in add_storage_in_op_panel_using_gui
    _add_storage_in_op_panel_using_gui(selenium, browser_id, config, onepanel, name)
tests/gui/meta_steps/onepanel/storages.py:140: in _add_storage_in_op_panel_using_gui
    notify_visible_with_text(selenium, browser_id, notify_type, text_regexp)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
/usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun
    return caller(func, *(extras + args), **kw)
tests/utils/utils.py:93: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser_emergency': <tests.conftest.ChromeWithAllLogs (session="ccbd220117a9122d7f312470c2badf66")>, 'browser_unifie...nging_while_editing_nested_expression_in_qos_visual_editor_and_submits_the_expression_successfully[1oz_2op_deployed]>>}
browser_id = 'browser_emergency', notify_type = 'info'
text_regexp = '.*[Ss]torage.*added.*'

    @wt(
        parsers.parse(
            "user of {browser_id} sees an {notify_type} notify "
            "with text matching to: {text_regexp}"
        )
    )
    @repeat_failed(timeout=2 * WAIT_BACKEND)
    def notify_visible_with_text(selenium, browser_id, notify_type, text_regexp):
        driver = selenium[browser_id]
        css_sel = f".ember-notify-show[class*={notify_type}] .message"
        regexp = re.compile(text_regexp)
        with suppress(NoSuchElementException, StaleElementReferenceException):
>           assert any(
                regexp.match(notify.text)
                for notify in driver.find_elements(By.CSS_SELECTOR, css_sel)
            ), f'no {notify_type} notify with "{text_regexp}" msg found'
E           AssertionError: no info notify with ".*[Ss]torage.*added.*" msg found

tests/gui/steps/common/notifies.py:36: AssertionError