GUI acceptance tests using environment deployed from packages.
Build: #1105 failed
Job: Multiprovider basic failed
user uploads a large file to provider and cancels uploading sees that file is not uploaded[1oz 2op deployed]: Test case result
The below summarizes the result of the test " user uploads a large file to provider and cancels uploading sees that file is not uploaded[1oz 2op deployed]" in build 1,105 of Onedata Products - gui acceptance pkg - Chrome multiprovider basic tests.
- Description
- user uploads a large file to provider and cancels uploading sees that file is not uploaded[1oz 2op deployed]
- Test class
- gui.scenarios.test_multiprovider_basic
- Method
- test_user_uploads_a_large_file_to_provider_and_cancels_uploading_sees_that_file_is_not_uploaded[1oz_2op_deployed]
- Duration
- 4 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: There are 199 files in file browser when should be 200 request = <FixtureRequest for <Function 'test_user_uploads_a_large_file_to_provider_and_cancels_uploading_sees_that_file_is_not_uploaded[1oz_2op_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:76: in wrapper return fun(*ba.args, **ba.kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ browser_id = 'browser', count = 200 tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': {'modal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fe573df1438>}}) @wt(parsers.parse('user of {browser_id} scrolls to the bottom of file browser ' 'and sees there are {count} files')) def count_files_while_scrolling(browser_id, count: int, tmp_memory): browser = tmp_memory[browser_id]['file_browser'] detected_files = [] tmp_files = browser.names_of_visible_elems() new_files = [f for f in tmp_files if f] while new_files: detected_files.extend(new_files) browser.scroll_to_bottom() tmp_files = browser.names_of_visible_elems() new_files = [f for f in tmp_files if f and f not in detected_files] else: err_msg = (f'There are {len(detected_files)} files in file browser ' f'when should be {count}') > assert len(detected_files) == count, err_msg E AssertionError: There are 199 files in file browser when should be 200 tests/gui/steps/oneprovider/file_browser.py:385: AssertionError