You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-2Lines changed: 9 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,7 @@ Utilities for easier interaction with XCUITest methods.
27
27
-`tapWhenReady()`
28
28
-`waitForInteractivity()`
29
29
-`slowTypeText("text")`
30
+
-`tap(withNormalizedOffset: .center)`
30
31
31
32
-`XCUIApplication` extensions:
32
33
- Accessing other apps:
@@ -42,7 +43,13 @@ Utilities for easier interaction with XCUITest methods.
42
43
- `assertHasCount(2)`
43
44
- `assertNotExists()`
44
45
45
-
All of the above have optional message as last parameter that can be used to configure what is displayed if assertion fails. For example: `element.assertExists("My element should be visible")`.
46
+
-`CGVector` extensions:
47
+
- Normalized offsets:
48
+
- `topLeft`, `top`, `topRight`
49
+
- `left`, `center`, `right`
50
+
- `bottomLeft`, `bottom`, `bottomRight`
51
+
52
+
All of the above assertion functions have optional message as last parameter that can be used to configure what is displayed if assertion fails. For example: `element.assertExists("My element should be visible")`.
46
53
47
54
## Example
48
55
@@ -52,7 +59,7 @@ Note that some of the buttons are identified by enum case instead of raw string.
52
59
53
60
```swift
54
61
functestOpenClosePremiumScreen() throws {
55
-
trylaunch(configuration: .init(premiumUnlocked: false))// TODO: Add tip about helper launch configurations
0 commit comments