GUI acceptance tests using environment deployed from packages.

Build: #2912 failed

Job: Transfers cancel failed

Stages & jobs

  1. Qnthack - copy quarantine

  2. Acceptance Test

  3. Qnthack - rerun

    Final

user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]: Test case result

The below summarizes the result of the test " user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]" in build 2,912 of Onedata Products - gui acceptance pkg - Transfers cancel.
Description
user reruns directory transfer to remote provider after canceling it[1oz 2op slow deployed]
Test class
gui.scenarios.test_oneprovider_transfers_cancel
Method
test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]
Duration
12 mins
Status
Failed (New Failure)

Error Log

selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element <li id="ember52" class="ember-view">...</li> is not clickable at point (232, 110). Other element would receive the click: <div tabindex="-1" id="ember9-modal" class="alert-global error modal fade in show ember-view" role="dialog" style="display: block;">...</div>
  (Session info: chrome=129.0.6668.70)
Stacktrace:
#0 0x558fb0cc913a <unknown>
#1 0x558fb09af5e0 <unknown>
#2 0x558fb0a05866 <unknown>
#3 0x558fb0a0378d <unknown>
#4 0x558fb0a01237 <unknown>
#5 0x558fb0a00646 <unknown>
#6 0x558fb09f3a98 <unknown>
#7 0x558fb0a23b22 <unknown>
#8 0x558fb09f3478 <unknown>
#9 0x558fb0a23cee <unknown>
#10 0x558fb0a42d7d <unknown>
#11 0x558fb0a238c3 <unknown>
#12 0x558fb09f16b3 <unknown>
#13 0x558fb09f268e <unknown>
#14 0x558fb0c93b3b <unknown>
#15 0x558fb0c97ac1 <unknown>
#16 0x558fb0c80335 <unknown>
#17 0x558fb0c98642 <unknown>
#18 0x558fb0c6549f <unknown>
#19 0x558fb0cb8038 <unknown>
#20 0x558fb0cb8203 <unknown>
#21 0x558fb0cc7f8c <unknown>
#22 0x7f56098b1a94 <unknown>
#23 0x7f560993ea34 __clone
fixturefunc = <function wait_for_waiting_transfer_to_start at 0x7f1661286ca0>
request = <FixtureRequest for <Function test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]>>
kwargs = {'browser_id': 'browser', 'op_container': <class 'tests.gui.utils.oneprovider.OPLoggedIn'>, 'selenium': {'browser': <s...ium' for <Function test_user_reruns_directory_transfer_to_remote_provider_after_canceling_it[1oz_2op_slow_deployed]>>}}

    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:86: in wrapper
    result = fun(*args, **kwargs)
tests/gui/steps/oneprovider/transfers.py:114: in wait_for_waiting_transfer_to_start
    assert len(op_container(selenium[browser_id]).transfers.waiting) == 0, \
tests/gui/utils/oneprovider/transfers.py:132: in waiting
    self['waiting'].click()
tests/gui/utils/oneprovider/transfers.py:95: in click
    self.web_elem.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 0x7f16610f31a0>
response = {'status': 400, 'value': '{"value":{"error":"element click intercepted","message":"element click intercepted: Element ...unknown>\\n#21 0x558fb0cc7f8c \\u003Cunknown>\\n#22 0x7f56098b1a94 \\u003Cunknown>\\n#23 0x7f560993ea34 __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="ember52" class="ember-view">...</li> is not clickable at point (232, 110). Other element would receive the click: <div tabindex="-1" id="ember9-modal" class="alert-global error modal fade in show ember-view" role="dialog" style="display: block;">...</div>
E         (Session info: chrome=129.0.6668.70)
E       Stacktrace:
E       #0 0x558fb0cc913a <unknown>
E       #1 0x558fb09af5e0 <unknown>
E       #2 0x558fb0a05866 <unknown>
E       #3 0x558fb0a0378d <unknown>
E       #4 0x558fb0a01237 <unknown>
E       #5 0x558fb0a00646 <unknown>
E       #6 0x558fb09f3a98 <unknown>
E       #7 0x558fb0a23b22 <unknown>
E       #8 0x558fb09f3478 <unknown>
E       #9 0x558fb0a23cee <unknown>
E       #10 0x558fb0a42d7d <unknown>
E       #11 0x558fb0a238c3 <unknown>
E       #12 0x558fb09f16b3 <unknown>
E       #13 0x558fb09f268e <unknown>
E       #14 0x558fb0c93b3b <unknown>
E       #15 0x558fb0c97ac1 <unknown>
E       #16 0x558fb0c80335 <unknown>
E       #17 0x558fb0c98642 <unknown>
E       #18 0x558fb0c6549f <unknown>
E       #19 0x558fb0cb8038 <unknown>
E       #20 0x558fb0cb8203 <unknown>
E       #21 0x558fb0cc7f8c <unknown>
E       #22 0x7f56098b1a94 <unknown>
E       #23 0x7f560993ea34 __clone

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