@@ -23,19 +23,53 @@ jobs:
23
23
npm test -- --verbose
24
24
working-directory : ComfyUI_frontend
25
25
26
- playwright-tests :
26
+ playwright-tests-chromium :
27
27
runs-on : ubuntu-latest
28
28
steps :
29
29
- uses : Comfy-Org/ComfyUI_frontend_setup_action@v1
30
30
- name : Install Playwright Browsers
31
31
run : npx playwright install chromium --with-deps
32
32
working-directory : ComfyUI_frontend
33
- - name : Run Playwright tests
34
- run : npx playwright test
33
+ - name : Run Playwright tests (Chromium)
34
+ run : npx playwright test --project=chromium
35
35
working-directory : ComfyUI_frontend
36
36
- uses : actions/upload-artifact@v4
37
37
if : always()
38
38
with :
39
- name : playwright-report
39
+ name : playwright-report-chromium
40
+ path : ComfyUI_frontend/playwright-report/
41
+ retention-days : 30
42
+
43
+ playwright-tests-chromium-2x :
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - uses : Comfy-Org/ComfyUI_frontend_setup_action@v1
47
+ - name : Install Playwright Browsers
48
+ run : npx playwright install chromium --with-deps
49
+ working-directory : ComfyUI_frontend
50
+ - name : Run Playwright tests (Chromium 2x)
51
+ run : npx playwright test --project=chromium-2x
52
+ working-directory : ComfyUI_frontend
53
+ - uses : actions/upload-artifact@v4
54
+ if : always()
55
+ with :
56
+ name : playwright-report-chromium-2x
57
+ path : ComfyUI_frontend/playwright-report/
58
+ retention-days : 30
59
+
60
+ playwright-tests-mobile-chrome :
61
+ runs-on : ubuntu-latest
62
+ steps :
63
+ - uses : Comfy-Org/ComfyUI_frontend_setup_action@v1
64
+ - name : Install Playwright Browsers
65
+ run : npx playwright install chromium --with-deps
66
+ working-directory : ComfyUI_frontend
67
+ - name : Run Playwright tests (Mobile Chrome)
68
+ run : npx playwright test --project=mobile-chrome
69
+ working-directory : ComfyUI_frontend
70
+ - uses : actions/upload-artifact@v4
71
+ if : always()
72
+ with :
73
+ name : playwright-report-mobile-chrome
40
74
path : ComfyUI_frontend/playwright-report/
41
75
retention-days : 30
0 commit comments