fix: mac url code hints integ test failures #307
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: Firefox run unit tests suite with Playwright | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build phoenix | |
run: npm run build | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps | |
- name: Run Playwright unit tests in firefox Attempt 1 | |
id: attempt1 | |
timeout-minutes: 20 | |
continue-on-error: true | |
run: npm run testFirefox | |
- name: Run Playwright unit tests in firefox Attempt 2 | |
id: attempt2 | |
if: steps.attempt1.outcome == 'failure' | |
timeout-minutes: 30 | |
continue-on-error: true | |
run: npm run testFirefox | |
- name: Run Playwright unit tests in firefox Attempt 3 | |
id: attempt3 | |
if: steps.attempt2.outcome == 'failure' | |
run: npm run testFirefox | |
- uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |