Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2323 failed
Job: Access tokens id caveats failed
using client1 user can rename file after getting token with caveat set for object id created by web gui[1oz 1op 1oc-RESt]: Test case result
The below summarizes the result of the test " using client1 user can rename file after getting token with caveat set for object id created by web gui[1oz 1op 1oc-RESt]" in build 2,323 of Onedata Products - mixed acceptance pkg - Chrome access tokens id caveats.
- Description
- using client1 user can rename file after getting token with caveat set for object id created by web gui[1oz 1op 1oc-RESt]
- Test class
- mixed.scenarios.test_access_tokens_id_caveats
- Method
- test_using_client1_user_can_rename_file_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-REST]
- Jira Issue
-
- Duration
- 2 mins
- Status
- Failed (New Failure)
Error Log
RuntimeError: Css element wtih "Close" text not found request = <FixtureRequest for <Function 'test_using_client1_user_can_rename_file_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-REST]'>> @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:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/meta_steps/onezone/tokens.py:588: in create_token_with_object_id modals, name, space, op_container, popups) tests/gui/meta_steps/onezone/tokens.py:573: in _copy_object_id close_modal(selenium, user, modal, modals) tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-57>:2: in close_modal ??? tests/utils/utils.py:95: in wrapper return fun(*args, **kwargs) tests/gui/steps/modal.py:416: in close_modal getattr(modals(selenium[browser_id]), modal).close() tests/gui/utils/core/web_elements.py:58: in __get__ elem = super(WebItem, self).__get__(instance, owner) tests/gui/utils/core/web_elements.py:52: in __get__ lambda: self._format_msg(err_msg, instance, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ web_elem_root = <selenium.webdriver.remote.webelement.WebElement (session="6be25f72826feb4fb54f3c2b395f57a9", element="d768b2cd-d671-4270-9009-2c6ec7141fb0")> css_sel = '.btn-default', text = 'Close' err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f343814a8c8> def find_web_elem_with_text(web_elem_root, css_sel, text, err_msg): items = web_elem_root.find_elements_by_css_selector(css_sel) _scroll_to_css_sel(web_elem_root, css_sel) for item in items: if item.text.lower() == text.lower(): return item else: > raise RuntimeError(f'Css element wtih "{text}" text not found') E RuntimeError: Css element wtih "Close" text not found tests/gui/utils/generic.py:117: RuntimeError