-
-
Notifications
You must be signed in to change notification settings - Fork 348
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
124146a
commit d73d92a
Showing
5 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 18 additions & 16 deletions
34
.maestro/android/display-text.yml → .maestro/display-text.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,70 @@ | ||
appId: com.rn069 | ||
tags: | ||
- android | ||
--- | ||
- runFlow: | ||
file: ../utils/set-timezone.yml | ||
file: utils/set-timezone.yml | ||
env: | ||
REGION: Sweden | ||
GMT: GMT+01:00 | ||
STATE: '' | ||
|
||
- runFlow: ../utils/launch.yml | ||
- runFlow: utils/launch.yml | ||
|
||
# test: minuteInterval rounding should round with floor | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: minuteInterval | ||
VALUE: 5 | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: date | ||
VALUE: '2000-01-01T00:34:00+01:00' | ||
- runFlow: ../utils/swipe-wheel-1.yml | ||
- runFlow: utils/swipe-wheel-1.yml | ||
- assertVisible: '2000-01-02 00:30:00' | ||
|
||
- runFlow: ../utils/reset.yml | ||
- runFlow: utils/reset.yml | ||
|
||
# test: can have initial date in past | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: maximumDate | ||
VALUE: undefined | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: minimumDate | ||
VALUE: undefined | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: date | ||
VALUE: '1999-01-01' | ||
- runFlow: ../utils/swipe-wheel-1.yml | ||
- runFlow: utils/swipe-wheel-1.yml | ||
- assertVisible: '1999-01-02 01:00:00' | ||
|
||
- runFlow: ../utils/reset.yml | ||
- runFlow: utils/reset.yml | ||
|
||
# test: display text | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: locale | ||
VALUE: vi-VN | ||
- runFlow: ../utils/swipe-wheel-1.yml | ||
- runFlow: utils/swipe-wheel-1.yml | ||
- assertVisible: | ||
id: dateStringOutput | ||
text: 'CN 2 thg 11200 SA ' | ||
|
||
# Should be possible to use picker with invalid locale | ||
- runFlow: ../utils/launch.yml | ||
- runFlow: utils/launch.yml | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: locale | ||
VALUE: xx | ||
- runFlow: ../utils/swipe-wheel-1.yml | ||
- runFlow: utils/swipe-wheel-1.yml | ||
- assertVisible: '2000-01-02 00:00:00' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
appId: com.rn069 | ||
tags: | ||
- ios | ||
--- | ||
# test: can use inline picker | ||
- runFlow: ../utils/launch.yml | ||
- runFlow: utils/launch.yml | ||
- runFlow: | ||
file: ../utils/change-prop.yml | ||
file: utils/change-prop.yml | ||
env: | ||
PROP: locale | ||
VALUE: vi-VN | ||
- runFlow: ../utils/swipe-wheel-1.yml | ||
- runFlow: utils/swipe-wheel-1.yml | ||
- assertVisible: | ||
text: '2000-01-01 01:00:00' | ||
|
||
# test: can use modal | ||
- launchApp | ||
- tapOn: Modal | ||
- tapOn: Select date | ||
- runFlow: ../utils/swipe-wheel-1-modal.yml | ||
- runFlow: utils/swipe-wheel-1-modal.yml | ||
- tapOn: Confirm | ||
- assertVisible: | ||
text: '2000-01-02' |
2 changes: 2 additions & 0 deletions
2
...ro/android/timezone-offset-in-minutes.yml → .maestro/timezone-offset-in-minutes.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
appId: com.rn069 | ||
tags: | ||
- android | ||
--- | ||
- runFlow: | ||
file: utils/set-timezone.yml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters