Skip to content

Commit

Permalink
Add optional cases in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tokou committed Aug 30, 2024
1 parent ee8aae8 commit 1a2d833
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions maestro-test/src/test/resources/076_optional_assertion.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
appId: com.example.app
---
- scrollUntilVisible:
timeout: 1
element:
id: "not_found"
optional: true
- assertTrue:
condition: "false"
optional: true
- extendedWaitUntil:
visible:
id: "not_found"
timeout: 1
optional: true
- assertVisible:
text: "Button"
optional: true

0 comments on commit 1a2d833

Please sign in to comment.