Skip to content

Commit

Permalink
fix(cypress): memory issue v3
Browse files Browse the repository at this point in the history
  • Loading branch information
MuhammadUmer44 committed Sep 21, 2024
1 parent 7373813 commit 3c322ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ export default defineConfig({

if (browser.name === 'chrome') {
updatedLaunchOptions.args.push('--disable-dev-shm-usage')
updatedLaunchOptions.args.push('--disable-gpu')
updatedLaunchOptions.args.push('--no-sandbox')
updatedLaunchOptions.args.push('--disable-software-rasterizer')

return updatedLaunchOptions
}
Expand Down

0 comments on commit 3c322ee

Please sign in to comment.