GUI acceptance tests using environment deployed from packages.
Build: #880 failed
Job: Onezone basic failed
user fails to add group as its subgroup[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user fails to add group as its subgroup[1oz 1op deployed]" in build 880 of Onedata Products - gui acceptance pkg - Chrome onezone basic tests.
- Description
- user fails to add group as its subgroup[1oz 1op deployed]
- Test class
- gui.scenarios.test_onezone_basic
- Method
- test_user_fails_to_add_group_as_its_subgroup[1oz_1op_deployed]
- Duration
- 48 secs
- Status
- Failed (New Failure)
Error Log
RuntimeError: no with "Cancel" text found in Invite using token modal selenium = {'browser': <selenium.webdriver.chrome.webdriver.WebDriver (session="bce27c3a9ff298939f9470786ebdc1a6")>} browser_id = 'browser', modal = 'invite_using_token' modals = <class 'tests.gui.utils.common.modals.Modals'> @wt(parsers.re('user of (?P<browser_id>.*) closes "(?P<modal>.*)" modal')) @repeat_failed(timeout=WAIT_FRONTEND) def close_modal(selenium, browser_id, modal, modals): modal = transform(modal) try: > getattr(modals(selenium[browser_id]), modal).close() E AttributeError: 'InviteUsingTokenModal' object has no attribute 'close' tests/gui/steps/modal.py:397: AttributeError During handling of the above exception, another exception occurred: request = <FixtureRequest for <Function 'test_user_fails_to_add_group_as_its_subgroup[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:76: in wrapper return fun(*ba.args, **ba.kwargs) <decorator-gen-364>:2: in close_modal ??? tests/utils/utils.py:80: in wrapper return fun(*args, **kwargs) tests/gui/steps/modal.py:399: in close_modal getattr(modals(selenium[browser_id]), modal).cancel() 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="bce27c3a9ff298939f9470786ebdc1a6", element="528c173e-3397-452c-8e08-88afcb82b74d")> css_sel = 'button', text = 'Cancel' err_msg = 'no with "Cancel" text found in Invite using token modal' 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: with suppress(TypeError): err_msg = err_msg() > raise RuntimeError(err_msg) E RuntimeError: no with "Cancel" text found in Invite using token modal tests/gui/utils/generic.py:106: RuntimeError