Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #1869 failed
Job: Files movement failed
user moves nonempty file using client2 and using client1 sees that its content has not changed[1oz 1op 1oc-web GUi-oneclient1]: Test case result
The below summarizes the result of the test " user moves nonempty file using client2 and using client1 sees that its content has not changed[1oz 1op 1oc-web GUi-oneclient1]" in build 1,869 of Onedata Products - mixed acceptance pkg - Chrome files movement tests.
- Description
- user moves nonempty file using client2 and using client1 sees that its content has not changed[1oz 1op 1oc-web GUi-oneclient1]
- Test class
- mixed.scenarios.test_files_movement
- Method
- test_user_moves_nonempty_file_using_client2_and_using_client1_sees_that_its_content_has_not_changed[1oz_1op_1oc-web GUI-oneclient1]
- Duration
- 3 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: not found "20B-0.txt" in browser request = <FixtureRequest for <Function 'test_user_moves_nonempty_file_using_client2_and_using_client1_sees_that_its_content_has_not_changed[1oz_1op_1oc-web GUI-oneclient1]'>> @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/mixed/steps/data_basic.py:412: in create_directory_structure_in_op modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:285: in create_directory_structure_in_op_gui op_container, modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:316: in _create_content tmp_memory, op_container, modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:304: in _create_item op_container, modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:316: in _create_content tmp_memory, op_container, modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:304: in _create_item op_container, modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:316: in _create_content tmp_memory, op_container, modals, oz_page, popups) tests/gui/meta_steps/oneprovider/data.py:297: in _create_item op_container, tmp_memory, oz_page, popups) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/meta_steps/oneprovider/data.py:346: in upload_file_to_op_gui assert_items_presence_in_browser(browser_id, filename, tmp_memory) 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/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-587>:2: in assert_items_presence_in_browser ??? tests/utils/utils.py:90: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ browser_id = 'user1', item_list = '20B-0.txt' tmp_memory = defaultdict(<class 'dict'>, {'user1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'...0-9a74d9c56984")>}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7f55b78acef0>}}) which_browser = 'file browser' @wt(parsers.parse('user of {browser_id} sees item(s) ' 'named {item_list} in {which_browser}')) @wt(parsers.parse('user of {browser_id} sees that item named ' '{item_list} has appeared in {which_browser}')) @wt(parsers.parse('user of {browser_id} sees that items named ' '{item_list} have appeared in {which_browser}')) @repeat_failed(timeout=WAIT_BACKEND) def assert_items_presence_in_browser(browser_id, item_list, tmp_memory, which_browser='file browser'): browser = tmp_memory[browser_id][transform(which_browser)] data = _get_items_list_from_browser(browser_id, tmp_memory, which_browser) for item_name in parse_seq(item_list): if which_browser == 'dataset browser': assert item_name in data, (f'not found "{item_name}" ' f'in browser') else: assert (item_name in data and browser.data[item_name] > .size), f'not found "{item_name}" in browser' E AssertionError: not found "20B-0.txt" in browser tests/gui/steps/oneprovider/browser.py:69: AssertionError