Update highscore leaderboard calculation #11
ci-cd.yml
on: push
Jest Unit Tests, Type Checking, Linting, Playwright End to End Tests
1m 52s
Deploy to Fly.io
0s
Annotations
2 errors and 1 notice
playwright/navigation.spec.ts:3:1 › Navigation bar:
playwright/navigation.spec.ts#L8
1) playwright/navigation.spec.ts:3:1 › Navigation bar ────────────────────────────────────────────
Error: expect.toBeVisible: Error: strict mode violation: getByRole('heading', { name: 'Custom ARCADE' }) resolved to 2 elements:
1) <h1>Custom ARCADE</h1> aka getByRole('heading', { name: 'Custom ARCADE', exact: true })
2) <h2>Custom ARCADE Snake Highscore Leaderboard</h2> aka getByRole('heading', { name: 'Custom ARCADE Snake Highscore' })
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByRole('heading', { name: 'Custom ARCADE' })
6 | await expect(
7 | page.getByRole('heading', { name: 'Custom ARCADE' }),
> 8 | ).toBeVisible();
| ^
9 |
10 | // About page
11 | await page
at /home/runner/work/next-ecommerce-store/next-ecommerce-store/playwright/navigation.spec.ts:8:5
|
Jest Unit Tests, Type Checking, Linting, Playwright End to End Tests
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
playwright/navigation.spec.ts:3:1 › Navigation bar ─────────────────────────────────────────────
2 passed (6.0s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-screenshots-videos
Expired
|
85.5 KB |
|