Skip to content

Commit 3394737

Browse files
chore: remove Cypress 13.x Firefox workarounds
1 parent 78a6af8 commit 3394737

2 files changed

Lines changed: 2 additions & 16 deletions

File tree

.github/workflows/cross-browser.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,7 @@ jobs:
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
@@ -55,7 +50,6 @@ jobs:
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

cypress-bs.config.js

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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
},

0 commit comments

Comments
 (0)