diff --git a/.github/workflows/test-android-e2e.yml b/.github/workflows/test-android-e2e.yml index 0cd9594..0f2a2b9 100644 --- a/.github/workflows/test-android-e2e.yml +++ b/.github/workflows/test-android-e2e.yml @@ -2,6 +2,11 @@ name: Test Android e2e on: workflow_call: + inputs: + test-tags: + type: string + required: false + default: 'android' workflow_dispatch: inputs: test-tags: diff --git a/.maestro/maximum-date.yml b/.maestro/maximum-date.yml index 4f5d99a..b270396 100644 --- a/.maestro/maximum-date.yml +++ b/.maestro/maximum-date.yml @@ -61,6 +61,7 @@ tags: - assertVisible: '2000-01-01 00:00:00' ########## describe: overshooting max date +- runFlow: utils/reset.yml ### test: overshooting day wheel should reset to maximum date - runFlow: diff --git a/.maestro/timezone-offset-in-minutes-daylight-saving.yml b/.maestro/timezone-offset-in-minutes-daylight-saving.yml index 3549260..b2e2f57 100644 --- a/.maestro/timezone-offset-in-minutes-daylight-saving.yml +++ b/.maestro/timezone-offset-in-minutes-daylight-saving.yml @@ -1,6 +1,7 @@ appId: com.rn071 tags: - android + - timezoneOffsetInMinutes --- ########## describe: DAYLIGHT SAVING - runFlow: diff --git a/.maestro/timezone-offset-in-minutes.yml b/.maestro/timezone-offset-in-minutes.yml index 9ef3d29..0fa17f3 100644 --- a/.maestro/timezone-offset-in-minutes.yml +++ b/.maestro/timezone-offset-in-minutes.yml @@ -1,6 +1,7 @@ appId: com.rn071 tags: - android + - timezoneOffsetInMinutes --- - runFlow: file: utils/set-timezone.yml diff --git a/.maestro/utils/change-minimum-date.yml b/.maestro/utils/change-minimum-date.yml new file mode 100644 index 0000000..f1ee701 --- /dev/null +++ b/.maestro/utils/change-minimum-date.yml @@ -0,0 +1,7 @@ +appId: com.rn071 +--- +- runFlow: + file: change-prop.yml + env: + PROP: minimumDate + VALUE: ${VALUE} diff --git a/examples/Rn071/src/CustomPropValue.js b/examples/Rn071/src/CustomPropValue.js index d06f07c..dfbc026 100644 --- a/examples/Rn071/src/CustomPropValue.js +++ b/examples/Rn071/src/CustomPropValue.js @@ -33,7 +33,12 @@ export default function CustomPropValue(props) { props.changeProp({ propName, propValue: getPropValue() })} + onPress={() => { + props.changeProp({ propName, propValue: getPropValue() }) + setPropName(''); + setPropValue(''); + } + } >Change