File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -462,8 +462,8 @@ test.describe('Popup Geometry',
462
462
// Get default buffer with one point
463
463
let buffer = await page . screenshot ( { clip :{ x :425 , y :325 , width :100 , height :100 } } ) ;
464
464
const defaultByteLength = buffer . byteLength ;
465
- await expect ( defaultByteLength ) . toBeGreaterThan ( 900 ) ; // 906
466
- await expect ( defaultByteLength ) . toBeLessThan ( 1000 ) // 906
465
+ await expect ( defaultByteLength ) . toBeGreaterThan ( 800 ) ; // 851 or 906
466
+ await expect ( defaultByteLength ) . toBeLessThan ( 1000 ) // 851 or 906
467
467
468
468
// Click on a point
469
469
let getFeatureInfoPromise = project . waitForGetFeatureInfoRequest ( ) ;
@@ -499,8 +499,8 @@ test.describe('Popup Geometry',
499
499
// Get default buffer with one point
500
500
let buffer = await page . screenshot ( { clip :{ x :425 , y :325 , width :100 , height :100 } } ) ;
501
501
const defaultByteLength = buffer . byteLength ;
502
- await expect ( defaultByteLength ) . toBeGreaterThan ( 900 ) ; // 906
503
- await expect ( defaultByteLength ) . toBeLessThan ( 1000 ) // 906
502
+ await expect ( defaultByteLength ) . toBeGreaterThan ( 800 ) ; // 851 or 906
503
+ await expect ( defaultByteLength ) . toBeLessThan ( 1000 ) // 851 or 906
504
504
505
505
// Click on a point
506
506
let getFeatureInfoPromise = project . waitForGetFeatureInfoRequest ( ) ;
You can’t perform that action at this time.
0 commit comments