Improve messaging when the API fails to download a file #2493
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E Tests | |
on: [pull_request] | |
env: | |
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Run end-to-end tests on Netlify PR preview | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up environment | |
uses: ./.github/actions/setup | |
- name: Setup Playwright | |
run: npx playwright install chromium --with-deps | |
- name: Wait for Netlify build to finish | |
id: netlify | |
env: | |
COMMIT_SHA: ${{ github.event.pull_request.head.sha }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: ./.github/actions/netlify-wait-for-build | |
- name: Run E2E Tests on Netlify URL | |
run: yarn e2e | |
env: | |
E2E_START_URL: ${{ steps.netlify.outputs.url }} | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: desktop-client-test-results | |
path: packages/desktop-client/test-results/ | |
retention-days: 30 |