GUI acceptance tests using environment deployed from packages.

Build: #2954 failed

Job: Onezone groups multiuser single group failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user leaves group with others users[1oz 1op deployed]: Test case result

The below summarizes the result of the test " user leaves group with others users[1oz 1op deployed]" in build 2,954 of Onedata Products - gui acceptance pkg - Onezone groups multiuser single group.
Description
user leaves group with others users[1oz 1op deployed]
Test class
gui.scenarios.test_onezone_groups_multiuser_single_group
Method
test_user_leaves_group_with_others_users[1oz_1op_deployed]
Duration
37 secs
Status
Failed (Existing Failure)

Error Log

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <li id="ember102" class="main-menu-item one-list-item active enabled clickable ember-view">...</li> is not clickable at point (31, 331). 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 0x563955e0f2b3 <unknown>
#1 0x563955b3f2d7 <unknown>
#2 0x563955b83542 <unknown>
#3 0x563955b81a14 <unknown>
#4 0x563955b7f89e <unknown>
#5 0x563955b7e9dd <unknown>
#6 0x563955b73cc9 <unknown>
#7 0x563955b9cda2 <unknown>
#8 0x563955b736e6 <unknown>
#9 0x563955b9cf6e <unknown>
#10 0x563955bb4fe9 <unknown>
#11 0x563955b9cb73 <unknown>
#12 0x563955b721ab <unknown>
#13 0x563955b72f4e <unknown>
#14 0x563955dd0668 <unknown>
#15 0x563955dd4627 <unknown>
#16 0x563955ddeb8c <unknown>
#17 0x563955dd5253 <unknown>
#18 0x563955da3927 <unknown>
#19 0x563955df9018 <unknown>
#20 0x563955df91a6 <unknown>
#21 0x563955e07ee3 <unknown>
#22 0x7f3ce7ebca94 <unknown>
#23 0x7f3ce7f49a34 __clone
fixturefunc = <function assert_group_exists at 0x7ff8e8dbdf80>
request = <FixtureRequest for <Function test_user_leaves_group_with_others_users[1oz_1op_deployed]>>
kwargs = {'browser_ids': 'browser2', 'group': 'group1', 'option': 'does not see', 'oz_page': <class 'tests.gui.utils.onezone.OZLoggedIn'>, ...}

    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)
/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/groups.py:54: in assert_group_exists
    oz_page(selenium[browser_id]).get_page_and_click("groups"),
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 0x7ff8e86b20f0>
response = {'status': 400, 'value': '{"value":{"error":"element click intercepted","message":"element click intercepted: Element ...unknown>\\n#21 0x563955e07ee3 \\u003Cunknown>\\n#22 0x7f3ce7ebca94 \\u003Cunknown>\\n#23 0x7f3ce7f49a34 __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="ember102" class="main-menu-item one-list-item active enabled clickable ember-view">...</li> is not clickable at point (31, 331). 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 0x563955e0f2b3 <unknown>
E       #1 0x563955b3f2d7 <unknown>
E       #2 0x563955b83542 <unknown>
E       #3 0x563955b81a14 <unknown>
E       #4 0x563955b7f89e <unknown>
E       #5 0x563955b7e9dd <unknown>
E       #6 0x563955b73cc9 <unknown>
E       #7 0x563955b9cda2 <unknown>
E       #8 0x563955b736e6 <unknown>
E       #9 0x563955b9cf6e <unknown>
E       #10 0x563955bb4fe9 <unknown>
E       #11 0x563955b9cb73 <unknown>
E       #12 0x563955b721ab <unknown>
E       #13 0x563955b72f4e <unknown>
E       #14 0x563955dd0668 <unknown>
E       #15 0x563955dd4627 <unknown>
E       #16 0x563955ddeb8c <unknown>
E       #17 0x563955dd5253 <unknown>
E       #18 0x563955da3927 <unknown>
E       #19 0x563955df9018 <unknown>
E       #20 0x563955df91a6 <unknown>
E       #21 0x563955e07ee3 <unknown>
E       #22 0x7f3ce7ebca94 <unknown>
E       #23 0x7f3ce7f49a34 __clone

/usr/local/lib/python3.12/dist-packages/selenium/webdriver/remote/errorhandler.py:229: ElementClickInterceptedException