-
Notifications
You must be signed in to change notification settings - Fork 1.8k
[Testing] Re-Enabled UI Test - Issue12574Test #29436
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] Re-Enabled UI Test - Issue12574Test #29436
Conversation
Hey there @@TamilarasanSF4853! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR refines the test case for Issue12574 by replacing manual scrolling with programmatic swiping, enhancing test robustness and platform independence.
- Replaces App.ScrollRight calls with App.Tap on a new swipe button in the shared test code.
- Adds a new swipe button and updates the layout and event handling in the host app to support the improved test flow.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/CarouselViewUITests.LoopNoFreeze.cs | Replaced manual swipe gestures with tapping on a dedicated swipe button. |
src/Controls/tests/TestCases.HostApp/Issues/CarouselViewLoopNoFreeze.cs | Added a new swipe button, updated grid layout, and introduced a CurrentPosition property in the view model to manage carousel swiping. |
src/Controls/tests/TestCases.HostApp/Issues/CarouselViewLoopNoFreeze.cs
Outdated
Show resolved
Hide resolved
…Freeze.cs Co-authored-by: Copilot <[email protected]>
/azp run MAUI-UITests-public |
Azure Pipelines successfully started running 1 pipeline(s). |
* re-enabled the test for android * modified test case * Update src/Controls/tests/TestCases.HostApp/Issues/CarouselViewLoopNoFreeze.cs Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
* re-enabled the test for android * modified test case * Update src/Controls/tests/TestCases.HostApp/Issues/CarouselViewLoopNoFreeze.cs Co-authored-by: Copilot <[email protected]> --------- Co-authored-by: Copilot <[email protected]>
Description of Change
This pull request addresses improvements to a test case for Issue 12574 by refining the test logic, enhancing user interaction handling, and removing a platform-specific exclusion directive. The changes aim to make the test more robust and platform-independent.
Issue
Previously, the test was experiencing intermittent failures (flakiness) on Android because scrolling in the carousel view items wasn't working consistently in CI. As a result, the test case was failing continuously on the Android platform.
Solution
Since this test was added to verify that the CarouselView freezes on iOS, we used programmatic scrolling instead of manual scrolling to preserve the intent of the original test case.
Fixes #28760 (Issue12574Test)