GUI acceptance tests using environment deployed from packages.

Build: #2534 failed

Job: Oneprovider data tab failed

Stages & jobs

  1. Acceptance Test

user sees file that was uploaded in another window after writing file name in jump input[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees file that was uploaded in another window after writing file name in jump input[1oz 1op deployed]" in build 2,534 of Onedata Products - gui acceptance pkg - Oneprovider data tab.
Description
user sees file that was uploaded in another window after writing file name in jump input[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_data_tab
Method
test_user_sees_file_that_was_uploaded_in_another_window_after_writing_file_name_in_jump_input[1oz_1op_deployed]
Jira Issue
Duration
1 min
Status
Failed (New Failure)

Error Log

AssertionError: file_0011.txt is displayed on page
request = <FixtureRequest for <Function 'test_user_sees_file_that_was_uploaded_in_another_window_after_writing_file_name_in_jump_input[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)
<decorator-gen-889>:2: in assert_item_displayed_on_page
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser1', item_list = '"file_0011.txt"'
tmp_memory = defaultdict(<class 'dict'>, {'browser1': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window':...': {'modal': None}, 'file_browser': <tests.gui.utils.oneprovider.file_browser._FileBrowser object at 0x7fbdf7e8c790>}})
option = 'is not', which = 'file'

    @wt(parsers.re('user of (?P<browser_id>.*?) sees that items? named'
                   ' (?P<item_list>.*?) (?P<option>is|are|is not|are not) '
                   'currently visible in (?P<which>.*?) browser'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_item_displayed_on_page(browser_id, item_list, tmp_memory, option,
                                      which):
        browser = tmp_memory[browser_id][f'{which}_browser']
        visible_files = browser.names_of_visible_elems()
        items = parse_seq(item_list)
        data = [f for f in visible_files if f]
        for name in items:
            if 'not' in option:
>               assert name not in data, f'{name} is displayed on page'
E               AssertionError: file_0011.txt is displayed on page

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