GUI acceptance tests using environment deployed from packages.

Build: #2390 failed

Job: Oneprovider datasets failed

Stages & jobs

  1. Acceptance Test

user sees same paths to detached datasets root files after deleting dataset root file and recreating file marked as dataset with the same name[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees same paths to detached datasets root files after deleting dataset root file and recreating file marked as dataset with the same name[1oz 1op deployed]" in build 2,390 of Onedata Products - gui acceptance pkg - Chrome oneprovider datasets tests.
Description
user sees same paths to detached datasets root files after deleting dataset root file and recreating file marked as dataset with the same name[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_datasets
Method
test_user_sees_same_paths_to_detached_datasets_root_files_after_deleting_dataset_root_file_and_recreating_file_marked_as_dataset_with_the_same_name[1oz_1op_deployed]
Duration
3 mins
Status
Failed (New Failure)

Error Log

AssertionError: Number of deleted icon in detached dataset list is 0, but should be 1
request = <FixtureRequest for <Function 'test_user_sees_same_paths_to_detached_datasets_root_files_after_deleting_dataset_root_file_and_recreating_file_marked_as_dataset_with_the_same_name[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-1069>:2: in assert_one_of_two_dataset_has_deleted_root
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...3cef0a90>, 'dataset_browser': <tests.gui.utils.oneprovider.dataset_browser._DatasetBrowser object at 0x7fe83cd5cd30>}})
name = 'dir1'

    @wt(parsers.parse('user of {browser_id} sees that one of two listed datasets'
                      ' "{name}" has got root file deleted'))
    @repeat_failed(timeout=WAIT_FRONTEND)
    def assert_one_of_two_dataset_has_deleted_root(browser_id, tmp_memory, name):
        browser = tmp_memory[browser_id][transform(DATASET_BROWSER)]
        number_of_deleted_icon = 0
        for dataset in browser.data:
            if dataset.name == name:
                try:
                    dataset.deleted_root_file_icon
                    number_of_deleted_icon += 1
                except RuntimeError:
                    pass
        err_msg = (f'Number of deleted icon in detached dataset list '
                   f'is {number_of_deleted_icon}, but should be 1')
>       assert number_of_deleted_icon == 1, err_msg
E       AssertionError: Number of deleted icon in detached dataset list is 0, but should be 1

tests/gui/steps/oneprovider/dataset.py:133: AssertionError