appId: com.rn069 --- - runFlow: file: utils/set-timezone.yml env: REGION: Sweden GMT: GMT+01:00 STATE: '' - 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: REGION: Sweden GMT: GMT+02:00 STATE: '' - 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 # test: timezoneOffsetInMinutes combined with maximumDate/minimumDate in another timezone than current device. # Bug was reported here: https://github.com/henninghall/react-native-date-picker/issues/613 - runFlow: file: utils/set-timezone.yml env: REGION: 'United states' STATE: Phoenix GMT: GMT-07:00 - runFlow: utils/launch.yml - runFlow: file: utils/change-prop.yml env: PROP: timeZoneOffsetInMinutes VALUE: 180 - repeat: times: 5 commands: - runFlow: utils/swipe-wheel-1.yml - runFlow: utils/swipe-wheel-4.yml - assertVisible: 'Thu Jan 61000 AM '