Acceptance tests using different clients concurrently. Environment deployed from packages.

Build: #1781 failed

Job: Onepanel failed

files tree with specified depth is imported to space after changing import depth and enable delete detection option[1oz 1op 1oc-web GUi-RESt]: Test case result

The below summarizes the result of the test " files tree with specified depth is imported to space after changing import depth and enable delete detection option[1oz 1op 1oc-web GUi-RESt]" in build 1,781 of Onedata Products - mixed acceptance pkg - Chrome onepanel tests.
Description
files tree with specified depth is imported to space after changing import depth and enable delete detection option[1oz 1op 1oc-web GUi-RESt]
Test class
mixed.scenarios.test_onepanel_basic
Method
test_files_tree_with_specified_depth_is_imported_to_space_after_changing_import_depth_and_enable_delete_detection_option[1oz_1op_1oc-web GUI-REST]
Duration
7 mins
Status
Failed (Existing Failure)

Error Log

AssertionError: file browser in files tab in op should be empty but is not
subtree = ['dir21', 'dir22', {'file1.txt': 22222}], user = 'user1'
tmp_memory = defaultdict(<class 'dict'>, {'onepanel': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...Mjk00MDUyOTQKMDAyZnNpZ25hdHVyZSD9FExf5zDtfSaX1jSnrs02Yp18MrL4cEjgu2PZZuDxpDQo'}, 'oz': {}, 'window': {'modal': None}}})
cwd = '/dir2'
selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="1938ad74561f4d1469cf0226fcafa8a2")>, 'onepanel':...0226fcafa8a2")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="bbd768b48f4eb5d9df850eae0306fbdc")>}
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_files_tree_with_specified2')
which_browser = 'file browser'

    def _check_files_tree(subtree, user, tmp_memory, cwd, selenium, op_container,
                          tmpdir, which_browser='file browser'):
        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:169: AttributeError

During handling of the above exception, another exception occurred:

request = <FixtureRequest for <Function 'test_files_tree_with_specified_depth_is_imported_to_space_after_changing_import_depth_and_enable_delete_detection_option[1oz_1op_1oc-web GUI-REST]'>>

    @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:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-1029>:2: in assert_space_content_in_op
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
tests/mixed/steps/onepanel_basic.py:537: in assert_space_content_in_op
    host, hosts)
tests/gui/meta_steps/oneprovider/data.py:223: in assert_space_content_in_op_gui
    op_container, tmpdir)
tests/gui/meta_steps/oneprovider/data.py:201: in _check_files_tree
    which_browser)
tests/gui/meta_steps/oneprovider/data.py:179: in _check_files_tree
    which_browser)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-501>:2: in assert_empty_browser_in_files_tab_in_op
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browsers': <selenium.webdriver.chrome.webdriver.WebDriver (session="1938ad74561f4d1469cf0226fcafa8a2")>, 'onepanel':...0226fcafa8a2")>, 'user1': <selenium.webdriver.chrome.webdriver.WebDriver (session="bbd768b48f4eb5d9df850eae0306fbdc")>}
browser_id = 'user1'
op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'>
tmp_memory = defaultdict(<class 'dict'>, {'onepanel': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {'token': 'MDAzM2xvY2F0...Mjk00MDUyOTQKMDAyZnNpZ25hdHVyZSD9FExf5zDtfSaX1jSnrs02Yp18MrL4cEjgu2PZZuDxpDQo'}, 'oz': {}, 'window': {'modal': None}}})
item_browser = 'file browser'

    @wt(parsers.parse('user of {browser_id} sees empty {item_browser} '
                      'in files tab in Oneprovider page'))
    @repeat_failed(timeout=WAIT_BACKEND)
    def assert_empty_browser_in_files_tab_in_op(selenium, browser_id,
                                                op_container, tmp_memory,
                                                item_browser='file browser'):
        switch_to_iframe(selenium, browser_id)
        check_browser_to_load(selenium, browser_id, tmp_memory, op_container,
                              item_browser)
        items_browser = tmp_memory[browser_id][transform(item_browser)]
>       assert items_browser.is_empty(), (f'{item_browser} in files tab in op '
                                          'should be empty but is not')
E       AssertionError: file browser in files tab in op should be empty but is not

tests/gui/steps/oneprovider/data_tab.py:206: AssertionError