File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 # Make sure to grab the latest version of the Playwright image
1616 # https://playwright.dev/docs/docker#pull-the-image
1717 image : mcr.microsoft.com/playwright:v1.54.0-noble
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ browser : [chromium, firefox, webkit]
1822 defaults :
1923 run :
2024 working-directory : ./frontend-v2
3337
3438 - name : Run tests
3539 run : yarn test-storybook
40+ env :
41+ VITE_BROWSER : ${{ matrix.browser }}
42+ HOME : /root
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const proxy = {
3333
3434// https://vitejs.dev/config/
3535export default ( { mode } ) => {
36- const { VITE_APP_GA_ID } = loadEnv ( mode , process . cwd ( ) ) ;
36+ const { VITE_APP_GA_ID , VITE_BROWSER = "chromium" } = loadEnv ( mode , process . cwd ( ) ) ;
3737 const radarOptions = {
3838 enableDev : true ,
3939 analytics : {
@@ -93,7 +93,7 @@ export default ({ mode }) => {
9393 enabled : true ,
9494 headless : true ,
9595 provider : "playwright" ,
96- instances : [ { browser : "chromium" } ] ,
96+ instances : [ { browser : VITE_BROWSER } ] ,
9797 } ,
9898 setupFiles : [ ".storybook/vitest.setup.ts" ] ,
9999 retry : 2 ,
You can’t perform that action at this time.
0 commit comments