test: color preview integration tests #946
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-linux run full tests suite | |
on: | |
pull_request: | |
branches: [ main ] | |
concurrency: | |
group: pr-firefox-linux-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
jobs: | |
playwright-firefox-linux: | |
timeout-minutes: 90 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
- 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 | |
uses: nick-fields/retry@v2 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: npm run testFirefox | |
- name: Run Playwright integration tests in Firefox | |
uses: nick-fields/retry@v2 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: npx cross-env TEST_ENV=integration npm run testFirefox | |
- name: Run Playwright mainview tests in Firefox | |
uses: nick-fields/retry@v2 | |
with: | |
timeout_minutes: 12 | |
max_attempts: 3 | |
command: npx cross-env TEST_ENV=mainview npm run testFirefox | |
- name: Run Playwright livepreview tests in Firefox | |
uses: nick-fields/retry@v2 | |
with: | |
timeout_minutes: 15 | |
max_attempts: 3 | |
command: npx cross-env TEST_ENV=livepreview npm run testFirefox | |
- name: Run Playwright LegacyInteg tests in Firefox | |
uses: nick-fields/retry@v2 | |
with: | |
timeout_minutes: 20 | |
max_attempts: 3 | |
command: npx cross-env TEST_ENV=LegacyInteg npm run testFirefox |