GUI acceptance tests using environment deployed from packages.
Build: #1026 failed
Job: Storage sync failed
user sees that files are deleted after synchronization when delete and write once options are enabled[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user sees that files are deleted after synchronization when delete and write once options are enabled[1oz 1op deployed]" in build 1,026 of Onedata Products - gui acceptance pkg - Chrome storage sync tests.
- Description
- user sees that files are deleted after synchronization when delete and write once options are enabled[1oz 1op deployed]
- Test class
- gui.scenarios.test_storage_sync
- Method
- test_user_sees_that_files_are_deleted_after_synchronization_when_delete_and_write_once_options_are_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_sees_that_files_are_deleted_after_synchronization_when_delete_and_write_once_options_are_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="b739708012830d7137687506d687372f")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="278d3d38e9e35f216fa672615bef1588")>} 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