Skip to content

Commit

Permalink
fix: tests (QwikDev#4431)
Browse files Browse the repository at this point in the history
  • Loading branch information
manucorporat authored Jun 7, 2023
1 parent 79c4255 commit 3cda0af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starters/e2e/qwikcity/nav.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ test.describe('actions', () => {
const link = page.locator('#hash-1');
await link.click();

await page.waitForTimeout(50);
await page.waitForTimeout(400);
expect(toPath(page.url())).toEqual('/qwikcity-test/scroll-restoration/hash/#hash-2');
await page.waitForTimeout(50);
await page.waitForTimeout(400);
const scrollY1 = (await getWindowScrollXY(page))[1];
expect(scrollY1).toBeGreaterThan(1090);
expect(scrollY1).toBeLessThan(1110);
Expand Down

0 comments on commit 3cda0af

Please sign in to comment.