GUI acceptance tests using environment deployed from packages.
Build: #14 failed
Job: Storage sync failed
user sees files update when detect modifications is set[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user sees files update when detect modifications is set[1oz 1op deployed]" in build 14 of Onedata Products - gui acceptance pkg - release-22.02.0-alpha1 - Chrome storage sync tests.
- Description
- user sees files update when detect modifications is set[1oz 1op deployed]
- Test class
- gui.scenarios.test_storage_sync
- Method
- test_user_sees_files_update_when_detect_modifications_is_set[1oz_1op_deployed]
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: file browser in data tab in op should be empty but is not subtree = ['dir21', 'dir22', {'file1.txt': 22222}], 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 0x7fee7a409668>}}) cwd = '/dir2' selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="7d69f1595f7d84acff5b5b5c0b517fef")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="9fae61b7e8341ebd0dec4c4a801e97f1")>} op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_files_update_wh0') 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_files_update_when_detect_modifications_is_set[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:174: in _check_files_tree tmp_memory) tests/utils/bdd_utils.py:77: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-591>:2: in assert_empty_file_browser_in_data_tab_in_op ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="7d69f1595f7d84acff5b5b5c0b517fef")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="9fae61b7e8341ebd0dec4c4a801e97f1")>} browser_id = 'browser2' op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> 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 0x7fee7a409668>}}) item_browser = 'file browser' @wt(parsers.parse('user of {browser_id} sees empty {item_browser} ' 'in data tab in Oneprovider page')) @repeat_failed(timeout=WAIT_BACKEND) def assert_empty_file_browser_in_data_tab_in_op(selenium, browser_id, op_container, tmp_memory, item_browser='file browser'): switch_to_iframe(selenium, browser_id) check_file_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 data tab in op ' 'should be empty but is not') E AssertionError: file browser in data tab in op should be empty but is not tests/gui/steps/oneprovider/data_tab.py:227: AssertionError