Acceptance tests using different clients concurrently. Environment deployed from packages.
Build: #2348 was successful
Job: Access tokens id caveats was successful
using client1 user can see 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 see file after getting token with caveat set for object id created by web gui[1oz 1op 1oc-RESt]" in build 2,348 of Onedata Products - mixed acceptance pkg - Chrome access tokens id caveats.
- Description
- using client1 user can see 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_see_file_after_getting_token_with_caveat_set_for_object_id_created_by_web_gui[1oz_1op_1oc-REST]
- Jira Issue
-
- Duration
- 6 mins
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: Css element wtih "Close" text not found request = <FixtureRequest for <Function 'test_using_client1_user_can_see_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:428: 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="c6f90959e84ee8d47999cbc94db52723", element="27ec2148-bdf8-4638-b61f-f048898f40c1")> css_sel = '.btn-default', text = 'Close' err_msg = <function WebElementWithText.__get__.<locals>.<lambda> at 0x7f7379328488> 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