Skip to content

Commit

Permalink
Specify workaround removal condition more clearly
Browse files Browse the repository at this point in the history
  • Loading branch information
bkimminich committed Sep 21, 2023
1 parent 128b8cf commit 597f22d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default defineConfig({
fixturesFolder: false,
supportFile: 'test/cypress/support/e2e.ts',
setupNodeEvents (on: any) {
on('before:browser:launch', (browser: any = {}, launchOptions: any) => { // TODO Remove after upgrade to Cypress >=12.5.0, see https://github.com/cypress-io/cypress-documentation/issues/5479
on('before:browser:launch', (browser: any = {}, launchOptions: any) => { // TODO Remove after upgrade to Cypress >=12.5.0 <or> Chrome 119 become available on GitHub Workflows, see https://github.com/cypress-io/cypress-documentation/issues/5479
if (browser.name === 'chrome' && browser.isHeadless) {
launchOptions.args = launchOptions.args.map((arg: any) => {
if (arg === '--headless') {
Expand Down

0 comments on commit 597f22d

Please sign in to comment.