You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

120 lines
2.6 KiB

appId: com.rn069
---
- runFlow:
file: utils/set-timezone.yml
env:
TIMEZONE: Sweden
GMT: GMT+01:00
- runFlow: utils/launch.yml
# test: timezone offset with undefined
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-01-01 00:01:00'
- assertVisible: 'Sat Jan 11201 AM '
- runFlow: utils/reset.yml
# test: timezone offset with 0
- runFlow:
file: utils/change-prop.yml
env:
PROP: timeZoneOffsetInMinutes
VALUE: 0
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-01-01 00:01:00'
- assertVisible: 'Fri Dec 311101 PM '
- runFlow: utils/reset.yml
# test: timezone offset with 180
- runFlow:
file: utils/change-prop.yml
env:
PROP: timeZoneOffsetInMinutes
VALUE: 180
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-01-01 00:01:00'
- assertVisible: 'Sat Jan 1201 AM '
- runFlow: utils/reset.yml
# test: timezone offset with -180
- runFlow:
file: utils/change-prop.yml
env:
PROP: timeZoneOffsetInMinutes
VALUE: -180
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-01-01 00:01:00'
- assertVisible: 'Fri Dec 31801 PM '
########## describe: DAYLIGHT SAVING
- runFlow:
file: utils/set-timezone.yml
env:
TIMEZONE: Sweden
GMT: GMT+02:00
- runFlow: utils/launch.yml
# test: timezone offset undefined
- runFlow:
file: utils/change-prop.yml
env:
PROP: maximumDate
VALUE: '2000-07-01T00:00:00'
- runFlow:
file: utils/change-prop.yml
env:
PROP: date
VALUE: '2000-06-01T00:00:00+02:00'
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-06-01 00:01:00'
- assertVisible: 'Thu Jun 11201 AM '
- runFlow: utils/reset.yml
# # test: timezone offset 0
- runFlow:
file: utils/change-prop.yml
env:
PROP: maximumDate
VALUE: '2000-07-01T00:00:00'
- runFlow:
file: utils/change-prop.yml
env:
PROP: date
VALUE: '2000-06-01T00:00:00+02:00'
- runFlow:
file: utils/change-prop.yml
env:
PROP: timeZoneOffsetInMinutes
VALUE: 0
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-06-01 00:01:00'
- assertVisible: 'Wed May 311001 PM '
- runFlow: utils/reset.yml
# test: timezone offset 180
- runFlow:
file: utils/change-prop.yml
env:
PROP: maximumDate
VALUE: '2000-07-01T00:00:00'
- runFlow:
file: utils/change-prop.yml
env:
PROP: date
VALUE: '2000-06-01T00:00:00+02:00'
- runFlow:
file: utils/change-prop.yml
env:
PROP: timeZoneOffsetInMinutes
VALUE: 180
- runFlow: utils/swipe-wheel-3.yml
- assertVisible: '2000-06-01 00:01:00'
- assertVisible: 'Thu Jun 1101 AM '
- runFlow: utils/reset.yml