File tree 1 file changed +0
-9
lines changed
system-tests/projects/screen-size/cypress/e2e
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ describe('windowSize', () => {
2
2
it ( 'spawns with correct default size' , ( ) => {
3
3
// assert the browser was spawned at 1280x720 and is full size
4
4
// normally e2e tests spawn at fixed size, but this spec should be spawned without passing any width/height arguments in plugins file.
5
- // TODO: look into fixing screen/available height and width
6
5
if ( Cypress . browser . name === 'chrome' ) {
7
6
// NOTE: there is a bug in chrome headless=new where height is not spawned correctly
8
7
// the issue is marked as fixed, but others are still running into it in Chrome 116
@@ -14,14 +13,6 @@ describe('windowSize', () => {
14
13
innerWidth : 1280 ,
15
14
innerHeight : 581 , // chrome 128 decreased the size here from 633 to 581
16
15
} )
17
- } else if ( Cypress . browser . name === 'firefox' ) {
18
- expect ( {
19
- innerWidth : top . window . innerWidth ,
20
- innerHeight : top . window . innerHeight ,
21
- } ) . deep . eq ( {
22
- innerWidth : 1280 ,
23
- innerHeight : Cypress . env ( 'CI' ) ? 676 : 677 , // firefox 133 decreased the size here from 720 to 676/677
24
- } )
25
16
} else {
26
17
expect ( {
27
18
innerWidth : top . window . innerWidth ,
You can’t perform that action at this time.
0 commit comments