GUI acceptance tests using environment deployed from packages.

Build: #2392 failed

Job: Oneprovider datasets failed

Stages & jobs

  1. Acceptance Test

user sees dataset in detached tab after deleting directory[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user sees dataset in detached tab after deleting directory[1oz 1op deployed]" in build 2,392 of Onedata Products - gui acceptance pkg - Chrome oneprovider datasets tests.
Description
user sees dataset in detached tab after deleting directory[1oz 1op deployed]
Test class
gui.scenarios.test_oneprovider_datasets
Method
test_user_sees_dataset_in_detached_tab_after_deleting_directory[1oz_1op_deployed]
Duration
1 min
Status
Failed (Existing Failure)

Error Log

AssertionError: not found "dir1" in browser
request = <FixtureRequest for <Function 'test_user_sees_dataset_in_detached_tab_after_deleting_directory[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)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
tests/utils/bdd_utils.py:78: in wrapper
    return fun(*ba.args, **ba.kwargs)
<decorator-gen-623>:2: in assert_items_presence_in_browser
    ???
tests/utils/utils.py:95: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="ced26cf7722f50e787e6e46440db8775")>}
browser_id = 'browser', item_list = '"dir1"'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...8a534730>, 'dataset_browser': <tests.gui.utils.oneprovider.dataset_browser._DatasetBrowser object at 0x7f978a4cf490>}})
which_browser = 'dataset browser'

    @wt(parsers.parse('user of {browser_id} sees item(s) '
                      'named {item_list} in {which_browser}'))
    @wt(parsers.parse('user of {browser_id} sees that item named '
                      '{item_list} has appeared in {which_browser}'))
    @wt(parsers.parse('user of {browser_id} sees that items named '
                      '{item_list} have appeared in {which_browser}'))
    @repeat_failed(timeout=WAIT_BACKEND)
    def assert_items_presence_in_browser(selenium, browser_id, item_list, tmp_memory,
                                         which_browser='file browser'):
        data = _get_items_list_from_browser(selenium, browser_id, tmp_memory,
                                            which_browser)
        for item_name in parse_seq(item_list):
>           assert item_name in data, (f'not found "{item_name}" '
                                       f'in browser')
E           AssertionError: not found "dir1" in browser

tests/gui/steps/oneprovider/browser.py:120: AssertionError