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 flaky Bugzilla32801 test by using unique AutomationId #26651

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

anandhan-rajagopal
Copy link
Contributor

Description

This PR addresses the flakiness in the Bugzilla32801 UI test by implementing unique AutomationIds for buttons on each tab. The changes ensure that the test can reliably identify and interact with the correct button on each tab, reducing the likelihood of test failures.

Changes

  1. Updated the test to use unique AutomationIds for buttons on each tab.
  2. Modified the test code to wait for the specific button to become visible on the incoming tab before tapping it.

anandhan-rajagopal and others added 4 commits December 11, 2024 11:57
)

* Migrated Issues : Issue32801, Issue774 and Bugzilla40704

* Modified the enabled tests

---------

Co-authored-by: HarishKumarSF4517 <harish.kumar@syncfusion.com>
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.

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Dec 16, 2024
@anandhan-rajagopal anandhan-rajagopal added area-testing Unit tests, device tests partner/syncfusion Issues / PR's with Syncfusion collaboration labels Dec 16, 2024
@anandhan-rajagopal anandhan-rajagopal changed the title [Testing] Fix flaky Bugzilla32801 test by using unique AutomationId's for tab page content buttons [Testing] Fix flaky Bugzilla32801 test by using unique AutomationId Dec 16, 2024
@jfversluis
Copy link
Member

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@rmarinho rmarinho merged commit 2e4e43e into dotnet:main Dec 16, 2024
102 of 104 checks passed
@samhouts samhouts added the fixed-in-net9.0-nightly This may be available in a nightly release! label Dec 16, 2024
@samhouts samhouts requested a review from Copilot December 16, 2024 23:17

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-testing Unit tests, device tests community ✨ Community Contribution fixed-in-net9.0-nightly This may be available in a nightly release! partner/syncfusion Issues / PR's with Syncfusion collaboration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants