Skip to content

Conversation

@TamilarasanSF4853
Copy link
Contributor

This pull request improves the reliability and accuracy of UI tests by addressing test flakiness, enhancing assertions, and refining test logic. The main focus is on making tests more robust across different platforms (especially in CI environments) and ensuring UI behavior is correctly validated.

Test reliability improvements:

  • Added retry logic for drag-and-drop actions in GesturesSenderIsView() on Mac Catalyst to reduce test flakiness in CI environments.
  • Extended double-tap retry logic in TapThenDoubleTap() to both Android and iOS platforms, not just Android, to handle potential flakiness.

Test accuracy and validation enhancements:

  • Improved ModalPageMarginCorrectAfterKeyboardOpens() by capturing and asserting the position of an Entry before and after keyboard appearance/dismissal, ensuring the UI remains visible and returns to its original state.
  • Updated TextInEditorShouldScroll() to use a more precise scroll command (ScrollStrategy.Gesture with withInertia: false), improving test consistency.

@dotnet-policy-service dotnet-policy-service bot added community ✨ Community Contribution partner/syncfusion Issues / PR's with Syncfusion collaboration labels Dec 16, 2025
@Ahamed-Ali Ahamed-Ali added the area-testing Unit tests, device tests label Dec 16, 2025
@sheiksyedm sheiksyedm marked this pull request as ready for review December 16, 2025 14:35
Copilot AI review requested due to automatic review settings December 16, 2025 14:35
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-project-automation github-project-automation bot moved this from Todo to Approved in MAUI SDK Ongoing Dec 17, 2025
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 testing-flakiness

Projects

Status: Approved

Development

Successfully merging this pull request may close these issues.

5 participants