Skip to content

Commit

Permalink
test: adjust time
Browse files Browse the repository at this point in the history
  • Loading branch information
etowahadams committed Nov 16, 2023
1 parent dd15994 commit ec215c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/performance.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,6 @@ test('Measure zoom time', async ({ page, browser }, testInfo) => {
const zoomTime = endTime - startTime;
console.log(`Zoom time: ${zoomTime}ms`);

// Just make sure the zoom time is less than 3 seconds. In practice it should be much less than this.
expect(zoomTime).toBeLessThan(5000);
// Just make sure the zoom time is less than 8 seconds. This is how long it in CI
expect(zoomTime).toBeLessThan(8000);
});

0 comments on commit ec215c0

Please sign in to comment.