GUI acceptance tests using environment deployed from packages.

Build: #2699 was successful

Job: Oneprovider upload was successful

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

user uploads more than 50 files and uses files list lazy loading[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user uploads more than 50 files and uses files list lazy loading[1oz 1op deployed]" in build 2,699 of Onedata Products - gui acceptance pkg - Oneprovider upload.
Description
user uploads more than 50 files and uses files list lazy loading[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_upload
Method
test_user_uploads_more_than_50_files_and_uses_files_list_lazy_loading[1oz_1op_deployed]
Jira Issue
Duration
1 min
Status
Failed (Existing Failure)

Error Log

AssertionError: There are 72 files in file browser when should be 70
request = <FixtureRequest for <Function 'test_user_uploads_more_than_50_files_and_uses_files_list_lazy_loading[1oz_1op_deployed]'>>

    @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)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', count = 70
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 0x7f9ef1b80100>}})

    @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 = []
        visible_files = browser.names_of_visible_elems()
        new_files = [f for f in visible_files if f]
        while new_files:
            detected_files.extend(new_files)
            browser.scroll_visible_fragment()
            visible_files = browser.names_of_visible_elems()
            new_files = [f for f in visible_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 72 files in file browser when should be 70

tests/gui/steps/oneprovider/file_browser.py:315: AssertionError