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] Fix for flaky test and Improve stability of the VisitAndUpdateItemsSource UITests #26830

Merged
merged 5 commits into from
Dec 26, 2024

Conversation

anandhan-rajagopal
Copy link
Contributor

@anandhan-rajagopal anandhan-rajagopal commented Dec 26, 2024

Description of Change

Fix for flaky UI tests in CI, improving the stability by adding WaitForElement and reset the app at particular places.
Updated the following Tests:

  • VisitAndUpdateItemsSourceUITests (CollectionView)

Proposed Fix

To address this issue, introduced to reset the app state before each test run. This ensures that each test starts with a clean slate, improving test isolation and reliability. Also ensured the test with Xamarin.Forms UI Tests and replaced some WaitForNoElement into WaitForElement.

@anandhan-rajagopal anandhan-rajagopal requested a review from a team as a code owner December 26, 2024 16:45
@anandhan-rajagopal anandhan-rajagopal changed the title [Testing] Fix for flaky tests and Improve stability of the VisitAndUpdateItemsSource UITests [Testing] Fix for flaky test and Improve stability of the VisitAndUpdateItemsSource UITests Dec 26, 2024
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Dec 26, 2024
Copy link
Contributor

Hey there @anandhan-rajagopal! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@PureWeen
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@anandhan-rajagopal anandhan-rajagopal added area-testing Unit tests, device tests partner/syncfusion Issues / PR's with Syncfusion collaboration labels Dec 26, 2024
@jfversluis jfversluis merged commit 7a48123 into dotnet:main Dec 26, 2024
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
None yet
Development

Successfully merging this pull request may close these issues.

4 participants