GUI acceptance tests using environment deployed from packages.

Build: #2043 failed

Job: Shares basic failed

Stages & jobs

  1. Acceptance Test

removing directory which contained shared directory removes only shares files but not share itself[1oz 1op deployed]: Test case result

The below summarizes the result of the test " removing directory which contained shared directory removes only shares files but not share itself[1oz 1op deployed]" in build 2,043 of Onedata Products - gui acceptance pkg - Chrome shares basic tests.
Description
removing directory which contained shared directory removes only shares files but not share itself[1oz 1op deployed]
Test class
gui.scenarios.test_shares_basic
Method
test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[1oz_1op_deployed]
Jira Issue
Duration
3 mins
Status
Failed (New Failure)

Error Log

AssertionError: displayed CANNOT LOAD SHARE ROOT does not match expected SHARED FILES HAVE BEEN DELETED
request = <FixtureRequest for <Function 'test_removing_directory_which_contained_shared_directory_removes_only_shares_files_but_not_share_itself[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-693>:2: in assert_msg_instead_of_browser
    ???
tests/utils/utils.py:90: in wrapper
    return fun(*args, **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

browser_id = 'browser', msg = 'SHARED FILES HAVE BEEN DELETED'
tmp_memory = defaultdict(<class 'dict'>, {'browser': {'shares': {}, 'spaces': {}, 'groups': {}, 'mailbox': {}, 'oz': {}, 'window': ...t 0x7fd848353828>, 'shares_browser': <tests.gui.utils.core.web_objects.PageObjectsSequence object at 0x7fd8483fb128>}})

    @wt(parsers.parse('user of {browser_id} sees "{msg}" '
                      'instead of file browser'))
    @repeat_failed(timeout=WAIT_BACKEND)
    def assert_msg_instead_of_browser(browser_id, msg, tmp_memory):
        browser = tmp_memory[browser_id]['file_browser']
        displayed_msg = browser.browser_msg_header
        start = time.time()
        while displayed_msg != msg:
            time.sleep(1)
            displayed_msg = browser.browser_msg_header
            if time.time() > start + WAIT_BACKEND:
>               assert displayed_msg == msg, (f'displayed {displayed_msg} does'
                                              f' not match expected {msg}')
E               AssertionError: displayed CANNOT LOAD SHARE ROOT does not match expected SHARED FILES HAVE BEEN DELETED

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