GUI acceptance tests using environment deployed from packages.

Build: #25 failed

Job: Storage sync failed

user sees that directory is not synchronized automatically when continuous scan is disabled[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees that directory is not synchronized automatically when continuous scan is disabled[1oz 1op deployed]" in build 25 of Onedata Products - gui acceptance pkg - release-21.02.0-alpha1 - Chrome storage sync tests.
Description
user sees that directory is not synchronized automatically when continuous scan is disabled[1oz 1op deployed]
Test class
gui.scenarios.test_storage_sync
Method
test_user_sees_that_directory_is_not_synchronized_automatically_when_continuous_scan_is_disabled[1oz_1op_deployed]
Duration
2 mins
Status
Failed (New Failure)

Error Log

AssertionError: not found "dir211" in file browser
subtree = ['dir211', 'file2.txt'], user = 'browser2'
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 0x7efe2a27ccc0>}})
cwd = '/dir2/dir21'
selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="7b001ec94a0d9d61ed54e731545de949")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="573b984894742bcc916324dbf753802e")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_that_directory_0')

    def _check_files_tree(subtree, user, tmp_memory, cwd, selenium, op_container,
                          tmpdir):
        for item in subtree:
            try:
>               [(item_name, item_subtree)] = item.items()
E               AttributeError: 'str' object has no attribute 'items'

tests/gui/meta_steps/oneprovider/data.py:167: AttributeError

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_user_sees_that_directory_is_not_synchronized_automatically_when_continuous_scan_is_disabled[1oz_1op_deployed]'>>

    @pytest.mark.usefixtures(*function_args)
    def scenario_wrapper(request):
>       _execute_scenario(feature, scenario, request, encoding)

/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:227: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario
    _execute_step_function(request, scenario, step, step_func)
/usr/local/lib/python3.6/dist-packages/pytest_bdd/scenario.py:130: in _execute_step_function
    step_func(**kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/gui/meta_steps/oneprovider/data.py:160: in check_file_structure_in_file_browser
    op_container, tmpdir)
tests/gui/meta_steps/oneprovider/data.py:192: in _check_files_tree
    selenium, op_container, tmpdir)
tests/gui/meta_steps/oneprovider/data.py:192: in _check_files_tree
    selenium, op_container, tmpdir)
tests/gui/meta_steps/oneprovider/data.py:169: in _check_files_tree
    assert_items_presence_in_file_browser(user, item, tmp_memory)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:77: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-643>:2: in assert_items_presence_in_file_browser
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser2', item_list = 'dir211'
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 0x7efe2a27ccc0>}})

    @wt(parsers.parse('user of {browser_id} sees item(s) '
                      'named {item_list} in file browser'))
    @wt(parsers.parse('user of {browser_id} sees that item named '
                      '{item_list} has appeared in file browser'))
    @wt(parsers.parse('user of {browser_id} sees that items named '
                      '{item_list} have appeared in file browser'))
    @repeat_failed(timeout=WAIT_BACKEND)
    def assert_items_presence_in_file_browser(browser_id, item_list, tmp_memory):
        file_browser = tmp_memory[browser_id]['file_browser']
        data = _get_items_list_from_file_browser(browser_id, tmp_memory)
        for item_name in parse_seq(item_list):
            assert (item_name in data and
>                   file_browser.data[item_name].size), (f'not found "{item_name}" '
                                                         f'in file browser')
E           AssertionError: not found "dir211" in file browser

tests/gui/steps/oneprovider/file_browser.py:93: AssertionError