Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
shamanec committed Aug 14, 2023
1 parent 735749e commit 0c05b0b
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@ It serves more as a demonstration of XCUITest than POM which is just a simple ex

## Highlights
### Interaction helper methods
Can be found in the `Helpers/Interaction` class
1. [pressHomeButton](xcuitest-sample-projUITests/Helpers/Interaction.swift#pressHomeButton)
2. [performGentleSwipe](xcuitest-sample-projUITests/Helpers/Interaction.swift#pressHomeButton)
Can be found in `Helpers/Interaction.swift`
Multiple utility methods for pressing the Home button, drag and dropping elements, performing normal or gentler swipes, also swipes until a condition is satisfied (useful for lazy loading elements)

### Alert helper methods
Can be found in `Helpers/Alert.swift`
Multiple overloaded methods to handle expected application or system alerts

### App helper methods
Can be found in `Helpers/App.swift`
Helper methods for backgrounding, forwarding, terminating, restarting or deleting the AUT.

### Element helper methods
Different waiting approaches using polling or XCTWaiter for existence, labels and others. Setting slider or picker values. Validating relative element to element position

## Target app
The tests target a sample app I've built using Google and ChatGPT because I am not an app developer, but its sufficient for demonstration

0 comments on commit 0c05b0b

Please sign in to comment.