GUI acceptance tests using environment deployed from packages.
Build: #882 failed
Job: Onezone spaces multiuser failed
user joins a space with group invitation token[1oz 1op deployed]: Test case result
The below summarizes the result of the test " user joins a space with group invitation token[1oz 1op deployed]" in build 882 of Onedata Products - gui acceptance pkg - Chrome onezone spaces multiuser tests.
- Description
- user joins a space with group invitation token[1oz 1op deployed]
- Test class
- gui.scenarios.test_onezone_spaces_multiuser
- Method
- test_user_joins_a_space_with_group_invitation_token[1oz_1op_deployed]
- Duration
- 1 min
- Status
- Failed (Existing Failure)
Error Log
RuntimeError: no with "Cancel" text found in Invite using token modal selenium = {'browser1': <selenium.webdriver.chrome.webdriver.WebDriver (session="406305a65cc9cfb9d2c7b3231fb074c4")>, 'browser2': <selenium.webdriver.chrome.webdriver.WebDriver (session="9b1376442ac3881b9b4ccfb7b4f26b93")>} browser_id = 'browser1', 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_joins_a_space_with_group_invitation_token[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-440>: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="406305a65cc9cfb9d2c7b3231fb074c4", element="21642ee4-0aa8-44ec-9413-b652c1eacdf8")> 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