GUI acceptance tests using environment deployed from packages.
Build: #1004 failed
Job: Storage sync failed
user does not see files and directories that have been removed in storage mount point when delete option was enabled[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user does not see files and directories that have been removed in storage mount point when delete option was enabled[1oz 1op deployed]" in build 1,004 of Onedata Products - gui acceptance pkg - Chrome storage sync tests.
- Description
- user does not see files and directories that have been removed in storage mount point when delete option was enabled[1oz 1op deployed]
- Test class
- gui.scenarios.test_storage_sync
- Method
- test_user_does_not_see_files_and_directories_that_have_been_removed_in_storage_mount_point_when_delete_option_was_enabled[1oz_1op_deployed]
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
AssertionError: no info notify with ".*[Ss]torage.*added.*" msg found request = <FixtureRequest for <Function 'test_user_does_not_see_files_and_directories_that_have_been_removed_in_storage_mount_point_when_delete_option_was_enabled[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) /usr/local/lib/python3.6/dist-packages/pytest_bdd/steps.py:162: in step_func result = request.getfixturevalue(func.__name__) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:428: in getfixturevalue return self._get_active_fixturedef(argname).cached_result[0] /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:453: in _get_active_fixturedef self._compute_fixture_value(fixturedef) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:524: in _compute_fixture_value fixturedef.execute(request=subrequest) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:795: in execute return hook.pytest_fixture_setup(fixturedef=self, request=request) /usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:617: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) /usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:222: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /usr/local/lib/python3.6/dist-packages/pluggy/__init__.py:216: in <lambda> firstresult=hook.spec_opts.get('firstresult'), /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:826: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/local/lib/python3.6/dist-packages/_pytest/fixtures.py:718: in call_fixture_func res = fixturefunc(**kwargs) tests/utils/bdd_utils.py:76: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/meta_steps/onepanel/storages.py:87: in create_storage_if_necessary onepanel, storage_name) tests/gui/meta_steps/onepanel/storages.py:137: in _add_storage_in_op_panel_using_gui notify_visible_with_text(selenium, browser_id, notify_type, text_regexp) <decorator-gen-18>:2: in notify_visible_with_text ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="6c6dc6839421233a9e1b42385abbc9ba")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="8d7dc1aa26e0e4e24c8f260616a91ba4")>} browser_id = 'browser1', notify_type = 'info' text_regexp = '.*[Ss]torage.*added.*' @wt(parsers.parse('user of {browser_id} sees an {notify_type} notify ' 'with text matching to: {text_regexp}')) @repeat_failed(timeout=2 * WAIT_BACKEND) def notify_visible_with_text(selenium, browser_id, notify_type, text_regexp): driver = selenium[browser_id] css_sel = '.ember-notify-show[class*={}] .message'.format(notify_type) regexp = re.compile(text_regexp) with suppress(NoSuchElementException, StaleElementReferenceException): assert any(regexp.match(notify.text) for notify in driver.find_elements_by_css_selector(css_sel)), \ 'no {} notify with "{}" msg found'.format(notify_type, > text_regexp) E AssertionError: no info notify with ".*[Ss]torage.*added.*" msg found tests/gui/steps/common/notifies.py:34: AssertionError