Skip to content

Bump vitest from 0.32.0 to 0.32.4 #674

Bump vitest from 0.32.0 to 0.32.4

Bump vitest from 0.32.0 to 0.32.4 #674

Triggered via pull request July 4, 2023 14:07
Status Failure
Total duration 3m 8s
Artifacts 1

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 notice
[Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme: tests/e2e/App.test.ts#L162
1) [Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme ───────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "/dark/" Received string: "http://localhost:5173/src/images/light/1S.svg" 160 | const card = page.getByTitle(" of ", { exact: false }).first(); 161 | const imageSrc = await card.getAttribute("src"); > 162 | expect(imageSrc).toContain("/dark/"); | ^ 163 | } 164 | 165 | { at /home/runner/work/24-card-game-solver/24-card-game-solver/tests/e2e/App.test.ts:162:22
[Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme: tests/e2e/App.test.ts#L162
1) [Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme ───────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "/dark/" Received string: "http://localhost:5173/src/images/light/13C.svg" 160 | const card = page.getByTitle(" of ", { exact: false }).first(); 161 | const imageSrc = await card.getAttribute("src"); > 162 | expect(imageSrc).toContain("/dark/"); | ^ 163 | } 164 | 165 | { at /home/runner/work/24-card-game-solver/24-card-game-solver/tests/e2e/App.test.ts:162:22
[Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme: tests/e2e/App.test.ts#L162
1) [Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme ───────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "/dark/" Received string: "http://localhost:5173/src/images/light/4S.svg" 160 | const card = page.getByTitle(" of ", { exact: false }).first(); 161 | const imageSrc = await card.getAttribute("src"); > 162 | expect(imageSrc).toContain("/dark/"); | ^ 163 | } 164 | 165 | { at /home/runner/work/24-card-game-solver/24-card-game-solver/tests/e2e/App.test.ts:162:22
[chromium] › App.test.ts:154:1 › Updates cards based on color scheme: tests/e2e/App.test.ts#L162
2) [chromium] › App.test.ts:154:1 › Updates cards based on color scheme ────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "/dark/" Received string: "http://localhost:5173/src/images/light/3S.svg" 160 | const card = page.getByTitle(" of ", { exact: false }).first(); 161 | const imageSrc = await card.getAttribute("src"); > 162 | expect(imageSrc).toContain("/dark/"); | ^ 163 | } 164 | 165 | { at /home/runner/work/24-card-game-solver/24-card-game-solver/tests/e2e/App.test.ts:162:22
[webkit] › App.test.ts:35:1 › Updates card when asked: tests/e2e/App.test.ts#L1
3) [webkit] › App.test.ts:35:1 › Updates card when asked ───────────────────────────────────────── Test timeout of 30000ms exceeded.
[webkit] › App.test.ts:35:1 › Updates card when asked: tests/e2e/App.test.ts#L43
3) [webkit] › App.test.ts:35:1 › Updates card when asked ───────────────────────────────────────── Error: locator.selectOption: Target closed =========================== logs =========================== waiting for getByLabel('Card 1') locator resolved to <select id="card0" required="" name="card0" data-v-b1512…>…</select> selecting specified option(s) did not find some options - waiting... ============================================================ 41 | const select = page.getByLabel("Card 1"); 42 | const currentValue = await select.inputValue(); > 43 | await select.selectOption({ value: `${(Number(currentValue) + 1) % 13}` }); | ^ 44 | 45 | const newCards = await page.getByTitle(" of ", { exact: false }).all(); 46 | expect(await newCards[0].getAttribute("src")).not.toStrictEqual(imageSrc); at /home/runner/work/24-card-game-solver/24-card-game-solver/tests/e2e/App.test.ts:43:16
[webkit] › App.test.ts:35:1 › Updates card when asked: tests/e2e/App.test.ts#L1
3) [webkit] › App.test.ts:35:1 › Updates card when asked ───────────────────────────────────────── Pending operations: - locator.selectOption at tests/e2e/App.test.ts:43:16
[webkit] › App.test.ts:154:1 › Updates cards based on color scheme: tests/e2e/App.test.ts#L162
4) [webkit] › App.test.ts:154:1 › Updates cards based on color scheme ──────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "/dark/" Received string: "http://localhost:5173/src/images/light/7D.svg" 160 | const card = page.getByTitle(" of ", { exact: false }).first(); 161 | const imageSrc = await card.getAttribute("src"); > 162 | expect(imageSrc).toContain("/dark/"); | ^ 163 | } 164 | 165 | { at /home/runner/work/24-card-game-solver/24-card-game-solver/tests/e2e/App.test.ts:162:22
ci
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [Mobile Safari] › App.test.ts:154:1 › Updates cards based on color scheme ────────────────────── 3 flaky [chromium] › App.test.ts:154:1 › Updates cards based on color scheme ─────────────────────────── [webkit] › App.test.ts:35:1 › Updates card when asked ────────────────────────────────────────── [webkit] › App.test.ts:154:1 › Updates cards based on color scheme ───────────────────────────── 31 passed (1.4m)

Artifacts

Produced during runtime
Name Size
playwright-report Expired
2.61 MB