GUI acceptance tests using environment deployed from packages.

Build: #2165 was successful

Job: Oneprovider hardlinks was successful

Stages & jobs

  1. Acceptance Test

user creates hardlinks in other directories than original files[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user creates hardlinks in other directories than original files[1oz 1op deployed]" in build 2,165 of Onedata Products - gui acceptance pkg - Chrome oneprovider hardlinks.
Description
user creates hardlinks in other directories than original files[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_hardlinks
Method
test_user_creates_hardlinks_in_other_directories_than_original_files[1oz_1op_deployed]
Jira Issue
Duration
1 min
Status
Failed (Existing Failure)

Error Log

AssertionError: numbers of items are not equal
request = <FixtureRequest for <Function 'test_user_creates_hardlinks_in_other_directories_than_original_files[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-675>:2: in assert_only_given_items_in_file_browser
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', item_list = '["dir1", "file1", "file2"]'
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 0x7f683b81d400>}})

    @wt(parsers.parse('user of {browser_id} sees only items named {item_list}'
                      ' in file browser'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_only_given_items_in_file_browser(browser_id, item_list, tmp_memory):
        file_browser = tmp_memory[browser_id]['file_browser']
        files = {f.name for f in file_browser.data}
        items = parse_seq(item_list)
>       assert len(files) == len(items), 'numbers of items are not equal'
E       AssertionError: numbers of items are not equal

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