Skip to content

Commit

Permalink
[BUG] fix cypress memory overusage (#4928)
Browse files Browse the repository at this point in the history
Cypress tests fail due to memory problems. The added flags do two things:
- does not store any test in memory within github actions
- and uses a new memory management recormmended by cypress for Chromium-based browsers.

This will hopefully solve the memory problem we are having lately.
  • Loading branch information
hasan-sh authored Dec 19, 2023
1 parent ad4da2a commit 7bad3f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ module.exports = defineConfig({
watchForFileChanges: false,
video: false,
redirectionLimit: 100,
numTestsKeptInMemory: 0,
experimentalMemoryManagement: true,
e2e: {
baseUrl: 'http://localhost:8080',
setupNodeEvents(on, config) {
Expand Down

0 comments on commit 7bad3f6

Please sign in to comment.