GUI acceptance tests using environment deployed from packages.
Build: #1708 failed
Job: Storage sync failed
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 1,708 of Onedata Products - gui acceptance pkg - Chrome storage sync tests.
- 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
- 6 mins
- Status
- Failed (Existing Failure)
Error Log
AssertionError: file browser in files tab in op should be empty but is not subtree = ['dir211', {'file2.txt': 11111}], 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 0x7f258c018eb8>}}) cwd = '/dir2/dir21' selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="308a54367bea7a86dca8fad92b83d2c1")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="0ce4cd75eeaa12beff7b5e4df54483ad")>} op_container = <class 'tests.gui.utils.oneprovider.OPLoggedIn'> tmpdir = local('/tmp/pytest-of-bamboo/pytest-0/test_user_sees_that_files_are_1') 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_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.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) tests/gui/meta_steps/oneprovider/data.py:162: in check_file_structure_in_browser op_container, tmpdir, which_browser) tests/gui/meta_steps/oneprovider/data.py:201: in _check_files_tree which_browser) 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-631>:2: in assert_empty_browser_in_files_tab_in_op ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="308a54367bea7a86dca8fad92b83d2c1")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="0ce4cd75eeaa12beff7b5e4df54483ad")>} 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 0x7f258c018eb8>}}) 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