[ci-fix-net11] De-flake AbsoluteLayout tests: wait for destination readiness (refs #36397) - #37365
Draft
github-actions[bot] wants to merge 1 commit into
Draft
[ci-fix-net11] De-flake AbsoluteLayout tests: wait for destination readiness (refs #36397)#37365github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
…1/10) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 1 pipeline(s). There may be pipelines that require an authorized user to comment /azp run to run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Are you waiting for the changes in this PR to be merged?
It would be very helpful if you could test the resulting artifacts from this PR and let us know in a comment if this change resolves your issue. Thank you!
Target branch: net11.0
Refs: #36397
Attempt: 1/10
Failure
The Windows Layout UI-test leg intermittently leaves all 18
VerifyAbsoluteLayout_*tests inOneTimeSetUp, timing out while waiting for the gallery's Go To Test button to disappear. The same Layout job succeeds in newer runs, classifying this as a test-quality flake rather than a deterministic product regression.Change
Allow gallery fixtures to name an element that proves their destination page is ready. AbsoluteLayout now waits for its
Optionscontrol after tapping Go To Test instead of using disappearance of a source-page button as a proxy for completed navigation. Existing gallery fixtures retain their current behavior.Validation
Not run locally: the Windows Appium UI-test rig is unavailable on this Linux runner. The change preserves every test and assertion and replaces only the AbsoluteLayout setup synchronization point.
Previous approaches
UtilExtensions.cs,_GalleryUITest.cs,AbsoluteLayoutFeatureTests.cs