GUI acceptance tests using environment deployed from packages.
Build: #2954 failed
Job: Onezone invite tokens failed
user can see removed space id in invitation token[1oz 2op elasticsearch]: Test case result
The below summarizes the result of the test " user can see removed space id in invitation token[1oz 2op elasticsearch]" in build 2,954 of Onedata Products - gui acceptance pkg - Onezone invite tokens.
- Description
- user can see removed space id in invitation token[1oz 2op elasticsearch]
- Test class
- gui.scenarios.test_onezone_invite_tokens
- Method
- test_user_can_see_removed_space_id_in_invitation_token[1oz_2op_elasticsearch]
- Duration
- 1 min
- Status
- Failed (Existing Failure)
Error Log
selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <li id="ember104" class="main-menu-item one-list-item enabled clickable ember-view">...</li> is not clickable at point (31, 395). Other element would receive the click: <div tabindex="-1" id="ember14-modal" class="alert-global error modal fade in show ember-view" role="dialog" style="display: block;">...</div> (Session info: chrome=115.0.5763.0) Stacktrace: #0 0x55bb7a3d02b3 <unknown> #1 0x55bb7a1002d7 <unknown> #2 0x55bb7a144542 <unknown> #3 0x55bb7a142a14 <unknown> #4 0x55bb7a14089e <unknown> #5 0x55bb7a13f9dd <unknown> #6 0x55bb7a134cc9 <unknown> #7 0x55bb7a15dda2 <unknown> #8 0x55bb7a1346e6 <unknown> #9 0x55bb7a15df6e <unknown> #10 0x55bb7a175fe9 <unknown> #11 0x55bb7a15db73 <unknown> #12 0x55bb7a1331ab <unknown> #13 0x55bb7a133f4e <unknown> #14 0x55bb7a391668 <unknown> #15 0x55bb7a395627 <unknown> #16 0x55bb7a39fb8c <unknown> #17 0x55bb7a396253 <unknown> #18 0x55bb7a364927 <unknown> #19 0x55bb7a3ba018 <unknown> #20 0x55bb7a3ba1a6 <unknown> #21 0x55bb7a3c8ee3 <unknown> #22 0x7f675275aa94 <unknown> #23 0x7f67527e7a34 __clone fixturefunc = <function click_on_option_in_the_sidebar at 0x7fe9b064bba0> request = <FixtureRequest for <Function test_user_can_see_removed_space_id_in_invitation_token[1oz_2op_elasticsearch]>> kwargs = {'browser_id': 'browser2', 'option': 'Tokens', 'oz_page': <class 'tests.gui.utils.onezone.OZLoggedIn'>, 'selenium': {'... <SubRequest 'selenium' for <Function test_user_can_see_removed_space_id_in_invitation_token[1oz_2op_elasticsearch]>>}} def call_fixture_func( fixturefunc: "_FixtureFunc[FixtureValue]", request: FixtureRequest, kwargs ) -> FixtureValue: if is_generator(fixturefunc): fixturefunc = cast( Callable[..., Generator[FixtureValue, None, None]], fixturefunc ) generator = fixturefunc(**kwargs) try: fixture_result = next(generator) except StopIteration: raise ValueError(f"{request.fixturename} did not yield a value") from None finalizer = functools.partial(_teardown_yield_fixture, fixturefunc, generator) request.addfinalizer(finalizer) else: fixturefunc = cast(Callable[..., FixtureValue], fixturefunc) > fixture_result = fixturefunc(**kwargs) /usr/local/lib/python3.12/dist-packages/_pytest/fixtures.py:913: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/utils/bdd_utils.py:78: in wrapper return fun(*ba.args, **ba.kwargs) tests/gui/steps/onezone/spaces.py:170: in click_on_option_in_the_sidebar _click_on_option_in_the_sidebar(selenium, browser_id, option, oz_page, force=True) /usr/local/lib/python3.12/dist-packages/decorator.py:232: in fun return caller(func, *(extras + args), **kw) tests/utils/utils.py:93: in wrapper return fun(*args, **kwargs) tests/gui/steps/onezone/spaces.py:180: in _click_on_option_in_the_sidebar page = oz_page(driver).get_page_and_click(name) tests/gui/utils/onezone/__init__.py:69: in get_page_and_click return get_page(self, item) tests/gui/utils/onezone/__init__.py:94: in get_page panel.click() /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webelement.py:94: in click self._execute(Command.CLICK_ELEMENT) /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webelement.py:395: in _execute return self._parent.execute(command, params) /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/webdriver.py:354: in execute self.error_handler.check_response(response) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x7fe9afc5d130> response = {'status': 400, 'value': '{"value":{"error":"element click intercepted","message":"element click intercepted: Element ...unknown>\\n#21 0x55bb7a3c8ee3 \\u003Cunknown>\\n#22 0x7f675275aa94 \\u003Cunknown>\\n#23 0x7f67527e7a34 __clone\\n"}}'} def check_response(self, response: Dict[str, Any]) -> None: """Checks that a JSON response from the WebDriver does not have an error. :Args: - response - The JSON response from the WebDriver server as a dictionary object. :Raises: If the response contains an error message. """ status = response.get("status", None) if not status or status == ErrorCode.SUCCESS: return value = None message = response.get("message", "") screen: str = response.get("screen", "") stacktrace = None if isinstance(status, int): value_json = response.get("value", None) if value_json and isinstance(value_json, str): import json try: value = json.loads(value_json) if len(value) == 1: value = value["value"] status = value.get("error", None) if not status: status = value.get("status", ErrorCode.UNKNOWN_ERROR) message = value.get("value") or value.get("message") if not isinstance(message, str): value = message message = message.get("message") else: message = value.get("message", None) except ValueError: pass exception_class: Type[WebDriverException] e = ErrorCode() error_codes = [item for item in dir(e) if not item.startswith("__")] for error_code in error_codes: error_info = getattr(ErrorCode, error_code) if isinstance(error_info, list) and status in error_info: exception_class = getattr(ExceptionMapping, error_code, WebDriverException) break else: exception_class = WebDriverException if not value: value = response["value"] if isinstance(value, str): raise exception_class(value) if message == "" and "message" in value: message = value["message"] screen = None # type: ignore[assignment] if "screen" in value: screen = value["screen"] stacktrace = None st_value = value.get("stackTrace") or value.get("stacktrace") if st_value: if isinstance(st_value, str): stacktrace = st_value.split("\n") else: stacktrace = [] try: for frame in st_value: line = frame.get("lineNumber", "") file = frame.get("fileName", "<anonymous>") if line: file = f"{file}:{line}" meth = frame.get("methodName", "<anonymous>") if "className" in frame: meth = f"{frame['className']}.{meth}" msg = " at %s (%s)" msg = msg % (meth, file) stacktrace.append(msg) except TypeError: pass if exception_class == UnexpectedAlertPresentException: alert_text = None if "data" in value: alert_text = value["data"].get("text") elif "alert" in value: alert_text = value["alert"].get("text") raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here > raise exception_class(message, screen, stacktrace) E selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <li id="ember104" class="main-menu-item one-list-item enabled clickable ember-view">...</li> is not clickable at point (31, 395). Other element would receive the click: <div tabindex="-1" id="ember14-modal" class="alert-global error modal fade in show ember-view" role="dialog" style="display: block;">...</div> E (Session info: chrome=115.0.5763.0) E Stacktrace: E #0 0x55bb7a3d02b3 <unknown> E #1 0x55bb7a1002d7 <unknown> E #2 0x55bb7a144542 <unknown> E #3 0x55bb7a142a14 <unknown> E #4 0x55bb7a14089e <unknown> E #5 0x55bb7a13f9dd <unknown> E #6 0x55bb7a134cc9 <unknown> E #7 0x55bb7a15dda2 <unknown> E #8 0x55bb7a1346e6 <unknown> E #9 0x55bb7a15df6e <unknown> E #10 0x55bb7a175fe9 <unknown> E #11 0x55bb7a15db73 <unknown> E #12 0x55bb7a1331ab <unknown> E #13 0x55bb7a133f4e <unknown> E #14 0x55bb7a391668 <unknown> E #15 0x55bb7a395627 <unknown> E #16 0x55bb7a39fb8c <unknown> E #17 0x55bb7a396253 <unknown> E #18 0x55bb7a364927 <unknown> E #19 0x55bb7a3ba018 <unknown> E #20 0x55bb7a3ba1a6 <unknown> E #21 0x55bb7a3c8ee3 <unknown> E #22 0x7f675275aa94 <unknown> E #23 0x7f67527e7a34 __clone /usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: ElementClickInterceptedException