Description
My team and I have been using Maestro for the past few weeks and have enjoyed the experience a lot! We use the action-maestro-cloud to run our E2E tests daily.
However, we just noticed that the action still passes whenever there's a failure in the test run in the cloud. This is problematic, as we always have to manually check if the tests actually passed, instead of getting notified by GitHub.
Below is a screenshot of the workflow run. As you can see, the first tests failed, canceling the execution of all follow-up tests, but the step and the whole job still passed.
We know that the upload and running of our tests work with the current setup, as we already had plenty of runs where everything went through successfully. Any ideas about what might be causing the issue?
Below you can see our job YAML as well.
mobile-test:
timeout-minutes: 40
runs-on: ubuntu-20.04
steps:
- name: Git Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Download Staging App APK
uses: dawidd6/action-download-artifact@v2
with:
workflow: cd-rn.yml
workflow_conclusion: success
name: app-android-staging
check_artifacts: true
if_no_artifact_found: fail
path: modules/e2e
- name: Upload and Run Maestro Tests
uses: mobile-dev-inc/action-maestro-cloud@v1
with:
api-key: ${{ secrets.MAESTRO_CLOUD_API_KEY }}
app-file: modules/e2e/app-staging-release.apk
workspace: modules/e2e/tests/e2e-mobile