GUI acceptance tests using environment deployed from packages.

Build: #2956 failed

Job: Storage sync failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user sees that files are deleted after synchronization when detect deletions is enabled and detect modifications is disabled[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees that files are deleted after synchronization when detect deletions is enabled and detect modifications is disabled[1oz 1op deployed]" in build 2,956 of Onedata Products - gui acceptance pkg - Storage sync.
Description
user sees that files are deleted after synchronization when detect deletions is enabled and detect modifications is disabled[1oz 1op deployed]
Test class
gui.scenarios.test_storage_sync
Method
test_user_sees_that_files_are_deleted_after_synchronization_when_detect_deletions_is_enabled_and_detect_modifications_is_disabled[1oz_1op_deployed]
Duration
1 min
Status
Failed (New Failure)

Error Log

AssertionError: there is different number of items in file browser, actual items: {'file1.txt', 'dir22'}, expected items: ['dir22']
fixturefunc = <function wt_check_file_structure_in_browser at 0x7f9617f0ff60>
request = <FixtureRequest for <Function test_user_sees_that_files_are_deleted_after_synchronization_when_detect_deletions_is_enabled_and_detect_modifications_is_disabled[1oz_1op_deployed]>>
kwargs = {'browser_id': 'browser2', 'config': '- dir2:\n    - dir22: 10', 'op_container': <class 'tests.gui.utils.oneprovider.O..._after_synchronization_when_detect_deletions_is_enabled_and_detect_modifications_is_disabled[1oz_1op_deployed]>>}, ...}

    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/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/meta_steps/oneprovider/files_tree.py:128: in wt_check_file_structure_in_browser
    check_file_structure_in_browser(
tests/gui/meta_steps/oneprovider/files_tree.py:150: in check_file_structure_in_browser
    check_tree_browser(
tests/gui/meta_steps/oneprovider/files_tree.py:80: in check_tree_browser
    check_tree_browser(
tests/gui/meta_steps/oneprovider/files_tree.py:57: in check_tree_browser
    assert_only_expected_items_presence_in_browser(
/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 = {'browser1': <tests.conftest.ChromeWithAllLogs (session="7a4885f05ded903ebc07fe4dc133693e")>, 'browser2': <tests.conft...eleted_after_synchronization_when_detect_deletions_is_enabled_and_detect_modifications_is_disabled[1oz_1op_deployed]>>}
browser_id = 'browser2', item_list = ['dir22']
tmp_memory = defaultdict(<class 'dict'>, {'browser1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...': {'modal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f9617a01e50>}})
which_browser = 'file browser'

    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_only_expected_items_presence_in_browser(
        selenium, browser_id, item_list, tmp_memory, which_browser="file browser"
    ):
        data = _get_items_list_from_browser(selenium, browser_id, tmp_memory, which_browser)
    
>       assert len(item_list) == len(data), (
            f"there is different number of items in {which_browser}, "
            f"actual items: {data}, expected items: {item_list}"
        )
E       AssertionError: there is different number of items in file browser, actual items: {'file1.txt', 'dir22'}, expected items: ['dir22']

tests/gui/steps/oneprovider/browser.py:224: AssertionError