Skip to content

Commit

Permalink
set CYPRESS_EVERY_NTH_FRAME=1 in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flotwig committed Aug 9, 2021
1 parent e7fea52 commit e2d4a68
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/server/test/support/helpers/e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,9 @@ const e2e = {
// Emulate no typescript environment
CYPRESS_INTERNAL_NO_TYPESCRIPT: options.noTypeScript ? '1' : '0',

// disable frame skipping to make quick Chromium tests have matching snapshots/working video
CYPRESS_EVERY_NTH_FRAME: 1,

// force file watching for use with --no-exit
...(options.noExit ? { CYPRESS_INTERNAL_FORCE_FILEWATCH: '1' } : {}),
})
Expand Down

0 comments on commit e2d4a68

Please sign in to comment.