Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tests/end2end/playwright/popup.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,8 +462,8 @@ test.describe('Popup Geometry',
// Get default buffer with one point
let buffer = await page.screenshot({clip:{x:425, y:325, width:100, height:100}});
const defaultByteLength = buffer.byteLength;
expect(defaultByteLength).toBeGreaterThan(800); // 851
expect(defaultByteLength).toBeLessThan(900) // 851
await expect(defaultByteLength).toBeGreaterThan(800); // 851 or 906
await expect(defaultByteLength).toBeLessThan(1000) // 851 or 906

// Click on a point
let getFeatureInfoPromise = project.waitForGetFeatureInfoRequest();
Expand Down Expand Up @@ -497,8 +497,8 @@ test.describe('Popup Geometry',
// Get default buffer with one point
let buffer = await page.screenshot({clip:{x:425, y:325, width:100, height:100}});
const defaultByteLength = buffer.byteLength;
expect(defaultByteLength).toBeGreaterThan(800); // 851
expect(defaultByteLength).toBeLessThan(900) // 851
await expect(defaultByteLength).toBeGreaterThan(800); // 851 or 906
await expect(defaultByteLength).toBeLessThan(1000) // 851 or 906

// Click on a point
let getFeatureInfoPromise = project.waitForGetFeatureInfoRequest();
Expand Down
Loading