Skip to content

[Testing] Fix for enable uitests ios26#33685

Closed
TamilarasanSF4853 wants to merge 3 commits intodotnet:enable-uitests-ios26from
TamilarasanSF4853:fix-enable-uitests-ios26
Closed

[Testing] Fix for enable uitests ios26#33685
TamilarasanSF4853 wants to merge 3 commits intodotnet:enable-uitests-ios26from
TamilarasanSF4853:fix-enable-uitests-ios26

Conversation

@TamilarasanSF4853
Copy link
Copy Markdown
Contributor

@TamilarasanSF4853 TamilarasanSF4853 commented Jan 23, 2026

This pull request resolves the test failure that occurred in this PR #33622 when enabling the UI test for iOS 26. This PR updates the handling of virtual keyboard dismissal and improves back arrow query logic for iOS in the Appium test utilities. The main changes enhance reliability when interacting with the iOS keyboard and add support for identifying the correct back button based on the iOS version.

iOS Keyboard Interaction Improvements:

  • In iOS 26, HideKeyboard does not tap the return key, so the keyboard does not close, which causes the test to fail. The method for dismissing the keyboard now explicitly locates and clicks the "Return" button within the keyboard UI instead of using the generic HideKeyboard command, which increases reliability.

iOS Back Arrow Query Logic:

  • In iOS 26, the back arrow ID changed to BackButton, so Appium does not find the back arrow. For iOS, the logic now checks the platform version: for iOS 26 or higher, it uses the accessibility ID "Back"; for lower versions, it uses "BackButton". This ensures compatibility with UI changes across iOS versions.

@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label Jan 23, 2026
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

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.

@dotnet-policy-service dotnet-policy-service bot added the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 23, 2026
@sheiksyedm sheiksyedm marked this pull request as ready for review January 23, 2026 06:30
@sheiksyedm
Copy link
Copy Markdown
Contributor

/azp run maui-pr-uitests 

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@Ahamed-Ali Ahamed-Ali removed the partner/syncfusion Issues / PR's with Syncfusion collaboration label Jan 23, 2026
@Ahamed-Ali
Copy link
Copy Markdown
Contributor

Closed this PR as duplicate

#33686

@Ahamed-Ali Ahamed-Ali closed this Jan 23, 2026
@github-actions github-actions bot locked and limited conversation to collaborators Feb 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

community ✨ Community Contribution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants