Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2728 failed
Job: Files movement failed
user copies file using client2 and using client1 sees that it has been copied[1oz 1op 1oc-web GUi-oneclient1]: Test case result
The below summarizes the result of the test " user copies file using client2 and using client1 sees that it has been copied[1oz 1op 1oc-web GUi-oneclient1]" in build 2,728 of Onedata Products - mixed acceptance pkg - Chrome files movement tests.
- Description
- user copies file using client2 and using client1 sees that it has been copied[1oz 1op 1oc-web GUi-oneclient1]
- Test class
- mixed.scenarios.test_files_movement
- Method
- test_user_copies_file_using_client2_and_using_client1_sees_that_it_has_been_copied[1oz_1op_1oc-web GUI-oneclient1]
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: not found on 0th position in Breadcrumbs(space1/dir1/dir2) in file browser in Oneprovider page request = <FixtureRequest for <Function 'test_user_copies_file_using_client2_and_using_client1_sees_that_it_has_been_copied[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.8/dist-packages/pytest_bdd/scenario.py:227: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/local/lib/python3.8/dist-packages/pytest_bdd/scenario.py:189: in _execute_scenario _execute_step_function(request, scenario, step, step_func) /usr/local/lib/python3.8/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:617: in assert_directory_structure_in_op assert_space_content_in_op_gui(config, selenium, user, op_container, tests/gui/meta_steps/oneprovider/data.py:267: in assert_space_content_in_op_gui _check_files_tree(yaml.load(config), user, tmp_memory, '', selenium, tests/gui/meta_steps/oneprovider/data.py:232: in _check_files_tree _check_files_tree(item_subtree, user, tmp_memory, path_tmp, tests/gui/meta_steps/oneprovider/data.py:232: in _check_files_tree _check_files_tree(item_subtree, user, tmp_memory, path_tmp, tests/gui/meta_steps/oneprovider/data.py:254: in _check_files_tree change_cwd_using_breadcrumbs_in_data_tab_in_op(selenium, user, cwd, tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-401>:2: in change_cwd_using_breadcrumbs_in_data_tab_in_op ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/gui/steps/oneprovider/data_tab.py:134: in change_cwd_using_breadcrumbs_in_data_tab_in_op breadcrumbs.chdir(path, archive) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <tests.gui.utils.oneprovider.breadcrumbs._Breadcrumbs object at 0x7fdbc2d66ee0> path = ['', 'dir1', 'dir2'], archive = False def chdir(self, path, archive=False): if not path or path == '/': self.space_root() else: path = path.split('/') breadcrumbs = self._breadcrumbs assert len(path) <= len(breadcrumbs), (f'specified path {path} ' f'exceeded one displayed in ' f'breadcrumbs {self}') i, dir1, dir2 = None, None, None err_msg = '{dir} not found on {idx}th position in {item}' if archive: breadcrumbs = [elem for i, elem in enumerate(breadcrumbs) if i != 1] breadcrumbs_name = [item.text for item in breadcrumbs] # works only if '...' is after archive name in path if '...' in breadcrumbs_name: path[1] = '...' if len(breadcrumbs_name) < len(path): for i in range(2, 2+(len(path)-len(breadcrumbs))): path.remove(path[i]) for i, (dir1, dir2) in enumerate(izip(path, breadcrumbs_name)): assert dir1 == dir2, err_msg.format(dir=dir1, idx=i, item=self) breadcrumbs[breadcrumbs_name.index(dir2)-1].click() else: for i, (dir1, dir2) in enumerate(izip(path, breadcrumbs)): > assert dir1 == dir2.text, err_msg.format(dir=dir1, idx=i, item=self) E AssertionError: not found on 0th position in Breadcrumbs(space1/dir1/dir2) in file browser in Oneprovider page tests/gui/utils/oneprovider/breadcrumbs.py:66: AssertionError