GUI acceptance tests using environment deployed from packages.

Build: #2284 was successful

Job: Oneprovider data tab was successful

Stages & jobs

  1. Acceptance Test

user successfully jumps to a previously nonvisible file after writing its name prefix to jump input[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user successfully jumps to a previously nonvisible file after writing its name prefix to jump input[1oz 1op deployed]" in build 2,284 of Onedata Products - gui acceptance pkg - Chrome oneprovider data tab tests.
Description
user successfully jumps to a previously nonvisible file after writing its name prefix to jump input[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_data_tab
Method
test_user_successfully_jumps_to_a_previously_nonvisible_file_after_writing_its_name_prefix_to_jump_input[1oz_1op_deployed]
Jira Issue
Duration
1 min
Status
Failed (Existing Failure)

Error Log

AssertionError: file_100 is not displayed on page, displayed files: ['file_076', 'file_077', 'file_078', 'file_079', 'file_080', 'file_081', 'file_082', 'file_083', 'file_084', 'file_085', 'file_086', 'file_087']
request = <FixtureRequest for <Function 'test_user_successfully_jumps_to_a_previously_nonvisible_file_after_writing_its_name_prefix_to_jump_input[1oz_1op_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:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-877>:2: in assert_item_displayed_on_page
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', item_list = '"file_100"'
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 0x7f85560ef7f0>}})
option = 'is', 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'
            else:
>               assert name in data, (f'{name} is not displayed on page, '
                                      f'displayed files: {data}')
E               AssertionError: file_100 is not displayed on page, displayed files: ['file_076', 'file_077', 'file_078', 'file_079', 'file_080', 'file_081', 'file_082', 'file_083', 'file_084', 'file_085', 'file_086', 'file_087']

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