Skip to content

Commit

Permalink
chore: migrate scroll test from detox to maestro (#813)
Browse files Browse the repository at this point in the history
* chore: migrate scroll test from detox to maestro

* cleanup
  • Loading branch information
henninghall authored May 17, 2024
1 parent aff7d54 commit 1c36b4b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 41 deletions.
19 changes: 19 additions & 0 deletions .maestro/other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ tags:
- android
- modal
- minuteInterval
- scrollAround
---
# test: can use modal

Expand Down Expand Up @@ -34,3 +35,21 @@ tags:
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-01-01 00:15:00'
- tapOn: reset date

# test: scroll around

# minute wheel should be possible to scroll around
- tapOn: 15min interval
- runFlow: utils/swipe-wheel-3.yml
- runFlow: utils/swipe-wheel-3.yml
- runFlow: utils/swipe-wheel-3.yml
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-01-01 00:00:00'
- tapOn: reset date

# day wheel should change year when passing new year
- runFlow: utils/swipe-wheel-1-up.yml
- assertVisible: '1999-12-31 00:00:00'
- runFlow: utils/swipe-wheel-1.yml
- assertVisible: '2000-01-01 00:00:00'
- tapOn: reset date
41 changes: 0 additions & 41 deletions examples/detox/e2e/tests/scrollAround.spec.js

This file was deleted.

0 comments on commit 1c36b4b

Please sign in to comment.