diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 21d58f5a..b7127b9f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -97,12 +97,16 @@ jobs: yarn run-example-android yarn test:e2e:android - - name: Upload artifacts + - name: Upload report if: always() uses: actions/upload-artifact@v3 with: - name: e2e-test-logs - path: ~/.maestro/tests/**/* + name: E2E Report + path: | + ${{ github.workspace }}/*.mp4 + ${{ github.workspace }}/*.png + ${{ github.workspace }}/report*.xml + ~/.maestro/tests/**/* - name: Store tests result uses: actions/upload-artifact@v3 diff --git a/maestro-tests/basic_example/tc14_pager_basic_example.yaml.yaml b/maestro-tests/basic_example/tc14_pager_basic_example.yaml.yaml index 1aab4410..bb5f4146 100644 --- a/maestro-tests/basic_example/tc14_pager_basic_example.yaml.yaml +++ b/maestro-tests/basic_example/tc14_pager_basic_example.yaml.yaml @@ -1,4 +1,9 @@ appId: ${APP_ID} +name: Verify prev and next buttons work +onFlowStart: + - startRecording: recording +onFlowComplete: # <- and this + - stopRecording --- - launchApp - assertVisible: 'PagerView Example'