File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 fail-fast : false
3434 matrix :
3535 os : [windows-latest]
36- browser : [chrome, edge]
37- headed : [false]
38- include :
39- - os : windows-latest
40- browser : firefox
41- headed : true
36+ browser : [chrome, edge, firefox]
4237
4338 steps :
4439 - name : Checkout code
5550 uses : cypress-io/github-action@v6
5651 with :
5752 browser : ${{ matrix.browser }}
58- headed : ${{ matrix.headed }}
5953 start : npm start
6054 wait-on : ' http://127.0.0.1:3000'
6155 spec : cypress/e2e/smoke-bs.cy.ts
Original file line number Diff line number Diff line change @@ -11,15 +11,7 @@ module.exports = defineConfig({
1111 mochaFile : 'test-results/cypress/junit-[hash].xml' ,
1212 } ,
1313 e2e : {
14- setupNodeEvents ( on , config ) {
15- on ( 'before:browser:launch' , ( browser , launchOptions ) => {
16- if ( browser . name === 'firefox' ) {
17- // Enable CDP in Firefox (required for Cypress 13.x)
18- launchOptions . preferences [ 'remote.active-protocols' ] = 3 ;
19- }
20- return launchOptions ;
21- } ) ;
22- } ,
14+ setupNodeEvents ( on , config ) { } ,
2315 baseUrl : 'http://127.0.0.1:3000' ,
2416 supportFile : false ,
2517 } ,
You can’t perform that action at this time.
0 commit comments