File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969 working-directory : frontend
7070 runs-on : ubuntu-24.04
7171 timeout-minutes : 10
72- strategy :
73- matrix :
74- project : [chromium, firefox, safari]
7572 steps :
7673 - uses : actions/checkout@v6
7774 name : Checkout
@@ -91,13 +88,13 @@ jobs:
9188 E2E_BASE_URL : https://${{ env.PREFIX }}.${{ env.DOMAIN }}/
9289 CI : " true"
9390 run : |
94- npx playwright test --project="${{ matrix.project }} " --reporter=html
91+ npx playwright test --project="chromium " --reporter=html
9592
9693 - uses : actions/upload-artifact@v7
9794 if : (! cancelled())
9895 name : upload results
9996 with :
100- name : playwright-report-${{ matrix.project }}
97+ name : playwright-report-chromium
10198 path : " ./frontend/playwright-report" # path from current folder
10299 retention-days : 7
103100
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ export default defineConfig({
3232
3333 /* Collect trace when retrying the failed test. See https://playwright.dev/docs/trace-viewer */
3434 trace : 'on-first-retry' ,
35+ ignoreHTTPSErrors : process . env . CI === 'true' || process . env . E2E_IGNORE_HTTPS_ERRORS === 'true' ,
3536 } ,
3637
3738 /* Configure projects for major browsers */
@@ -41,6 +42,9 @@ export default defineConfig({
4142 use : {
4243 ...devices [ 'Desktop Chrome' ] ,
4344 baseURL : baseURL ,
45+ launchOptions : process . env . CI === 'true'
46+ ? { args : [ '--no-sandbox' , '--disable-setuid-sandbox' ] }
47+ : undefined ,
4448 } ,
4549 } ,
4650 {
@@ -49,30 +53,9 @@ export default defineConfig({
4953 ...devices [ 'Desktop Chrome' ] ,
5054 channel : 'chrome' ,
5155 baseURL : baseURL ,
52- } ,
53- } ,
54-
55- {
56- name : 'firefox' ,
57- use : {
58- ...devices [ 'Desktop Firefox' ] ,
59- baseURL : baseURL ,
60- } ,
61- } ,
62-
63- {
64- name : 'safari' ,
65- use : {
66- ...devices [ 'Desktop Safari' ] ,
67- baseURL : baseURL ,
68- } ,
69- } ,
70- {
71- name : 'Microsoft Edge' ,
72- use : {
73- ...devices [ 'Desktop Edge' ] ,
74- channel : 'msedge' ,
75- baseURL : baseURL ,
56+ launchOptions : process . env . CI === 'true'
57+ ? { args : [ '--no-sandbox' , '--disable-setuid-sandbox' ] }
58+ : undefined ,
7659 } ,
7760 } ,
7861 ] ,
You can’t perform that action at this time.
0 commit comments