Skip to content
Snippets Groups Projects
Unverified Commit 71cabbdc authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Reduce number of tests stored in memory (#32868)

From the Cypress docs
https://docs.cypress.io/guides/references/configuration#Global

The number of tests for which snapshots and command data are kept in memory. Reduce this number if you are experiencing high memory consumption in your browser during a test run.

The default value is 50.
We're dialing it down to 1.
parent a33eaf73
No related branches found
No related tags found
No related merge requests found
......@@ -118,6 +118,7 @@ const mainConfig = {
...defaultConfig,
viewportHeight: 800,
viewportWidth: 1280,
numTestsKeptInMemory: 1,
reporter: "mochawesome",
reporterOptions: {
reportDir: "cypress/reports/mochareports",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment