-
-
Notifications
You must be signed in to change notification settings - Fork 126
51 lines (46 loc) · 1.46 KB
/
playwright-firefox-windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: Playwright-Firefox-windows run full tests suite
on:
pull_request:
branches: [ main ]
jobs:
playwright-firefox-windows:
timeout-minutes: 90
runs-on: windows-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
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