Commit 38bb619 1 parent 2dbc367 commit 38bb619 Copy full SHA for 38bb619
File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,8 @@ Folder structure is hard coded (see below). There will be enhancements coming in
100
100
In order to force the screenshot resolution when running a test you will need to set the following environment variables:
101
101
102
102
``` js
103
- export HEIGHT = 2240 // Default is set to 1280
104
- export WIDTH = 1980 // Default is set to 720
103
+ export HEIGHT = 1980 // Default is set to 1440
104
+ export WIDTH = 2240 // Default is set to 1980
105
105
```
106
106
107
107
### Please notice
Original file line number Diff line number Diff line change 1
1
const compareSnapshotCommand = defaultScreenshotOptions => {
2
- const height = process . env . HEIGHT || '1280 '
3
- const width = process . env . WIDTH || '720 '
2
+ const height = process . env . HEIGHT || '1440 '
3
+ const width = process . env . WIDTH || '1980 '
4
4
5
5
// Force screenshot resolution to keep consistency of test runs across machines
6
6
Cypress . config ( 'viewportHeight' , height )
You can’t perform that action at this time.
0 commit comments