GUI acceptance tests using environment deployed from packages.

Build: #2894 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,894 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']
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]'>>

    @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)
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:88: in check_file_structure_in_browser
    check_tree_browser(
tests/gui/meta_steps/oneprovider/files_tree.py:64: in check_tree_browser
    check_tree_browser(
tests/gui/meta_steps/oneprovider/files_tree.py:49: in check_tree_browser
    assert_only_expected_items_presence_in_browser(
<decorator-gen-649>:2: in assert_only_expected_items_presence_in_browser
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="6aa55e5e1d3635f65fd6d135c0cca7d8")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="32e3a332ac17ebac10355c84a9dd0a85")>}
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 0x7fd6f1bcd490>}})
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:157: AssertionError