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

[Testing] Resolved bunch of Android UI Test random failures in CI. #27066

Merged

Conversation

anandhan-rajagopal
Copy link
Contributor

@anandhan-rajagopal anandhan-rajagopal commented Jan 10, 2025

Description of Change

Fixes for Android UI Tests were failing frequently in CI due to unexpected interference from the notification panel.
image

Solution

Implemented a fix by calling App.Back() within the FixtureSetup method. This approach ensures that the navigation panel is dismissed before resetting the App while facing any exception on FixtureSetup method, providing a consistent starting point for test after the first FixtureSetup failure.
Note: The fix is also applied to the existing common base class for Controls Gallery tests. and modified the base class for each control tests as CoreGalleryBasePageTests.

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Jan 10, 2025
@sheiksyedm sheiksyedm added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 10, 2025
@PureWeen PureWeen added this to the .NET 9 SR4 milestone Jan 10, 2025
@anandhan-rajagopal anandhan-rajagopal marked this pull request as ready for review January 10, 2025 15:56
@anandhan-rajagopal anandhan-rajagopal requested a review from a team as a code owner January 10, 2025 15:56
@anandhan-rajagopal anandhan-rajagopal added the area-testing Unit tests, device tests label Jan 10, 2025
@anandhan-rajagopal
Copy link
Contributor Author

@dotnet-policy-service terminate

@anandhan-rajagopal
Copy link
Contributor Author

@dotnet-policy-service agree company="Syncfusion, Inc."

@rmarinho
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jfversluis jfversluis merged commit 4b51243 into dotnet:main Jan 11, 2025
104 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-testing Unit tests, device tests community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants