Closed
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enables UI testing for iOS 26 by introducing a parameterized default iOS version and updating the CI pipeline configuration.
Changes:
- Adds a
defaultiOSVersionparameter set to '26.0' to centralize iOS version management - Updates hardcoded iOS version references from '18.5' to use the new parameter
- Modifies CI pipeline to test against both iOS 18.5 and the latest version
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| eng/pipelines/common/ui-tests.yml | Introduces defaultiOSVersion parameter and replaces hardcoded '18.5' references with parameter usage across multiple test stages |
| eng/pipelines/ci-uitests.yml | Updates iosVersions arrays to include both '18.5' and 'latest' for comprehensive builds, and 'latest' only for PR builds |
Member
Author
|
/azp run maui-pr-uitests |
|
Azure Pipelines failed to run 1 pipeline(s). |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
Azure Pipelines successfully started running 1 pipeline(s). |
This was referenced Jan 20, 2026
This was referenced Jan 23, 2026
PureWeen
added a commit
that referenced
this pull request
Feb 21, 2026
> [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! 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. * Enables lane for testing uitests on iOS26 **iOS Keyboard Interaction Improvements:** * In iOS 26, HideKeyboard does not tap the return key because the return key string changed from “return” to an arrow button in iOS 26, 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 iOS 26 or lower. For iOS 26 and higer versions it uses the accessibility ID "BackButton" and for lower versions it uses accessibility ID "Back". This ensures compatibility with UI changes across iOS versions. --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions bot
pushed a commit
that referenced
this pull request
Feb 24, 2026
> [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! 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. * Enables lane for testing uitests on iOS26 **iOS Keyboard Interaction Improvements:** * In iOS 26, HideKeyboard does not tap the return key because the return key string changed from “return” to an arrow button in iOS 26, 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 iOS 26 or lower. For iOS 26 and higer versions it uses the accessibility ID "BackButton" and for lower versions it uses accessibility ID "Back". This ensures compatibility with UI changes across iOS versions. --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PureWeen
added a commit
that referenced
this pull request
Feb 26, 2026
> [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! 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. * Enables lane for testing uitests on iOS26 **iOS Keyboard Interaction Improvements:** * In iOS 26, HideKeyboard does not tap the return key because the return key string changed from “return” to an arrow button in iOS 26, 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 iOS 26 or lower. For iOS 26 and higer versions it uses the accessibility ID "BackButton" and for lower versions it uses accessibility ID "Back". This ensures compatibility with UI changes across iOS versions. --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PureWeen
added a commit
that referenced
this pull request
Feb 27, 2026
> [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! 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. * Enables lane for testing uitests on iOS26 **iOS Keyboard Interaction Improvements:** * In iOS 26, HideKeyboard does not tap the return key because the return key string changed from “return” to an arrow button in iOS 26, 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 iOS 26 or lower. For iOS 26 and higer versions it uses the accessibility ID "BackButton" and for lower versions it uses accessibility ID "Back". This ensures compatibility with UI changes across iOS versions. --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> # Conflicts: # src/Controls/tests/TestCases.Shared.Tests/Tests/Issues/XFIssue/Issue7678_1.cs
jfversluis
pushed a commit
that referenced
this pull request
Mar 2, 2026
> [!NOTE] > Are you waiting for the changes in this PR to be merged? > It would be very helpful if you could [test the resulting artifacts](https://github.com/dotnet/maui/wiki/Testing-PR-Builds) from this PR and let us know in a comment if this change resolves your issue. Thank you! 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. * Enables lane for testing uitests on iOS26 **iOS Keyboard Interaction Improvements:** * In iOS 26, HideKeyboard does not tap the return key because the return key string changed from “return” to an arrow button in iOS 26, 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 iOS 26 or lower. For iOS 26 and higer versions it uses the accessibility ID "BackButton" and for lower versions it uses accessibility ID "Back". This ensures compatibility with UI changes across iOS versions. --------- Co-authored-by: Shane Neuville <shneuvil@microsoft.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
Enables lane for testing uitests on iOS26