Last active
February 1, 2022 23:58
-
-
Save jthodge/bcf77b7b7a2d3cfcf29bd1db867f366f to your computer and use it in GitHub Desktop.
Cypress config to prevent Chrome's "Aw Snap" OoM error when running e2e tests locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"baseUrl": "http://localhost:3000", | |
"chromeWebSecurity": false, | |
"projectId": "$PROJECT_ID", | |
"viewportWidth": 1920, | |
"viewportHeight": 1080, | |
"defaultCommandTimeout": 10000, | |
"retries": { | |
"runMode": 2, | |
"openMode": 0 | |
}, | |
"numTestsKeptInMemory": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the complete configuration that I use, but the solution to preventing Chrome's OoM errors when running Cypress locally is the final attribute: