Skip to content

Conversation

@TDL-EdgarsEglitis
Copy link
Collaborator

This adds a new method to make it easier to handle iOS native alerts. It sets the active app to springboard and looks for an element with class XCUIElementTypeAlert:

  • If alert is not found, do nothing
  • If alert is found, click on the button specified by Strategy/Id

For both cases, in the end, the active app is set back to the application under test.

@TDL-EdgarsEglitis TDL-EdgarsEglitis merged commit 6c59a78 into master Jun 3, 2024
@TDL-EdgarsEglitis TDL-EdgarsEglitis deleted the add-ios-alert-handler branch June 3, 2024 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants