File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ package-lock.json
4
4
# Cypress local support artifacts
5
5
cypress /screenshots
6
6
cypress /videos
7
- cypress /downloads / downloads.html
7
+ cypress /downloads
8
8
9
9
# Logs
10
10
logs
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -16,9 +16,12 @@ const webpack = require('@cypress/webpack-preprocessor');
16
16
module . exports = ( on , config ) => {
17
17
// `on` is used to hook into various events Cypress emits
18
18
// `config` is the resolved Cypress config
19
- addMatchImageSnapshotPlugin ( on , config ) ;
20
- require ( '@cypress/code-coverage/task' ) ( on , config ) ;
21
- on ( 'file:preprocessor' , require ( '@cypress/code-coverage/use-babelrc' ) ) ;
19
+
20
+ if ( ! ! process . env . CI ) {
21
+ addMatchImageSnapshotPlugin ( on , config ) ;
22
+ require ( '@cypress/code-coverage/task' ) ( on , config ) ;
23
+ on ( 'file:preprocessor' , require ( '@cypress/code-coverage/use-babelrc' ) ) ;
24
+ }
22
25
23
26
// this fixes aliasing in cypres e2e tests
24
27
// https://github.com/cypress-io/cypress/issues/3262#issuecomment-462646891
You can’t perform that action at this time.
0 commit comments