Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Android Shell Navigation not properly waiting for end of transaction #26642

Merged
merged 2 commits into from
Dec 15, 2024

Conversation

albyrock87
Copy link
Contributor

@albyrock87 albyrock87 commented Dec 15, 2024

Description of Change

Android device test "Can reuse page" (Shell version) is failing on API >=33.

As we can see from the screenshot here, the end of the animation doesn't mean that the transaction has completed.

image

This simple change allows android to complete the last frame properly before engaging a new navigation.
I think this is positive even for animtated: false navigations.

This PR also fixes other randomly failing tests.

Issues Fixed

Fixes often broken device tests.

@albyrock87 albyrock87 requested a review from a team as a code owner December 15, 2024 09:37
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Dec 15, 2024
@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@@ -19,11 +19,7 @@ public void FlyoutMenuShouldNotDisappearWhenNavigateUsingServices()
App.Tap("BackButton");
App.WaitForElement("Login");
App.Tap("Login");
#if ANDROID
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for cleaning this one up!

@PureWeen PureWeen enabled auto-merge (squash) December 15, 2024 20:25
@PureWeen
Copy link
Member

  • failing test unrelated

@PureWeen PureWeen disabled auto-merge December 15, 2024 22:17
@PureWeen PureWeen merged commit f249086 into dotnet:main Dec 15, 2024
103 of 105 checks passed
albyrock87 added a commit to nalu-development/maui-custom that referenced this pull request Dec 16, 2024
…ion (dotnet#26642)

* Fix Android Shell Navigation not properly waiting for end of transaction

* Fixes other random failing tests on Android

(cherry picked from commit f249086)
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community ✨ Community Contribution fixed-in-net9.0-nightly This may be available in a nightly release!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants