You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[ci-scan-net11] Issue33287.DisplayAlertAsyncShouldNotCrashWhenPageUnloaded consistently times out on MacCatalyst (net11.0) #36554
Issue33287.DisplayAlertAsyncShouldNotCrashWhenPageUnloaded consistently fails on MacCatalyst in maui-pr-uitests with System.TimeoutException: Timed out waiting for element. The failure persists through retries (2 of 2 attempts fail) indicating this is not a transient flake.
Failed DisplayAlertAsyncShouldNotCrashWhenPageUnloaded [33 s]
Error Message:
System.TimeoutException : Timed out waiting for element...
Stack Trace:
at UITest.Appium.HelperExtensions.WaitForElement(...)
at Microsoft.Maui.TestCases.Tests.Issues.Issue33287.DisplayAlertAsyncShouldNotCrashWhenPageUnloaded()
in src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33287.cs:line 28
Recommended Action
Inspect src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/Issue33287.cs — the test calls DisplayAlertAsync then unloads the page and waits for a UI element that never appears.
Check whether the DisplayAlert dialog is being presented asynchronously and the page unload races with the alert dismiss on MacCatalyst.
Run locally on MacCatalyst to confirm the element that is waited on (WaitForElement) is never rendered or is rendered under a different accessibility id.
If this is a test design issue (timing too tight on Mac), consider adding a platform-specific timeout or a Task.Delay guard. If it is a real regression in DisplayAlertAsync, add a fix to src/Controls/src/Core/Page.cs or the MacCatalyst handler.
Closing this CI-scan tracking issue after verification of the reachable DisplayAlert fix chain #37088, #37081, and #37119. The exact DisplayAlertAsyncShouldNotCrashWhenPageUnloaded test passed in complete post-fix net11 MacCatalyst UI runs.
Activity
PureWeen commentedon Aug 12, 2026
Closing this CI-scan tracking issue after verification of the reachable DisplayAlert fix chain #37088, #37081, and #37119. The exact DisplayAlertAsyncShouldNotCrashWhenPageUnloaded test passed in complete post-fix net11 MacCatalyst UI runs.