feat: game live indicator #25
Annotations
4 errors, 1 warning, and 1 notice
tests/10-queue/02-vote-for-map.spec.ts#L22
1) [firefox] › 10-queue/02-vote-for-map.spec.ts:8:1 › vote for map ───────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "true"
Received: "false"
20 | await mapBtn.click()
21 | await expect(mapBtn).toContainText(/^100%/)
> 22 | expect(await mapBtn.getAttribute('aria-checked')).toBe('true')
| ^
23 |
24 | const secondMapBtn = page.voteForMapButton(1)
25 | await expect(secondMapBtn).toContainText(/^0%/)
at /home/runner/work/tf2pickup/tf2pickup/tests/10-queue/02-vote-for-map.spec.ts:22:53
|
tests/10-queue/02-vote-for-map.spec.ts#L11
1) [firefox] › 10-queue/02-vote-for-map.spec.ts:8:1 › vote for map ───────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "false"
Received: "true"
9 | const page = new QueuePage(pages.get(user.steamId)!)
10 | const mapBtn = page.voteForMapButton(0)
> 11 | expect(await mapBtn.getAttribute('aria-checked')).toBe('false')
| ^
12 |
13 | await expect(mapBtn).toContainText(/^0%/)
14 | await expect(mapBtn).toBeDisabled()
at /home/runner/work/tf2pickup/tf2pickup/tests/10-queue/02-vote-for-map.spec.ts:11:53
|
tests/10-queue/02-vote-for-map.spec.ts#L11
1) [firefox] › 10-queue/02-vote-for-map.spec.ts:8:1 › vote for map ───────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: "false"
Received: "true"
9 | const page = new QueuePage(pages.get(user.steamId)!)
10 | const mapBtn = page.voteForMapButton(0)
> 11 | expect(await mapBtn.getAttribute('aria-checked')).toBe('false')
| ^
12 |
13 | await expect(mapBtn).toContainText(/^0%/)
14 | await expect(mapBtn).toBeDisabled()
at /home/runner/work/tf2pickup/tf2pickup/tests/10-queue/02-vote-for-map.spec.ts:11:53
|
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
|
This job failed
Loading