Skip to content

chore: upgrade to astro 3, add playwright #2

chore: upgrade to astro 3, add playwright

chore: upgrade to astro 3, add playwright #2

Triggered via pull request September 1, 2023 04:39
Status Failure
Total duration 5m 27s
Artifacts

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 1 warning, and 1 notice
[Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return: e2e/smoke.spec.ts#L87
1) [Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByTestId('dscf-9640-1-0') - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" 85 | // can be expected 86 | await page.waitForTimeout(1200); > 87 | await expect(page.getByTestId(testSelectors[1])).toBeFocused(); | ^ 88 | const bb = await page.getByTestId(testSelectors[1]).boundingBox(); 89 | expect(bb).toStrictEqual(getBoundingBoxForViewport(viewport, bb)); 90 | }); at /home/runner/work/nothing-but-photos/nothing-but-photos/e2e/smoke.spec.ts:87:54
[Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return: e2e/smoke.spec.ts#L87
1) [Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByTestId('dscf-9640-1-0') - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" 85 | // can be expected 86 | await page.waitForTimeout(1200); > 87 | await expect(page.getByTestId(testSelectors[1])).toBeFocused(); | ^ 88 | const bb = await page.getByTestId(testSelectors[1]).boundingBox(); 89 | expect(bb).toStrictEqual(getBoundingBoxForViewport(viewport, bb)); 90 | }); at /home/runner/work/nothing-but-photos/nothing-but-photos/e2e/smoke.spec.ts:87:54
[Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return: e2e/smoke.spec.ts#L87
1) [Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeFocused() Call log: - expect.toBeFocused with timeout 5000ms - waiting for getByTestId('dscf-9640-1-0') - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" - locator resolved to <a id="dscf-9640-1-0" data-slug="dscf-9640" href="/…>…</a> - unexpected value "not focused" 85 | // can be expected 86 | await page.waitForTimeout(1200); > 87 | await expect(page.getByTestId(testSelectors[1])).toBeFocused(); | ^ 88 | const bb = await page.getByTestId(testSelectors[1]).boundingBox(); 89 | expect(bb).toStrictEqual(getBoundingBoxForViewport(viewport, bb)); 90 | }); at /home/runner/work/nothing-but-photos/nothing-but-photos/e2e/smoke.spec.ts:87:54
[Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo: e2e/smoke.spec.ts#L106
2) [Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "height": 82, "width": 81.5, - "x": 32, + "x": 42.453330993652344, "y": 32, } 104 | await expect(page.getByTestId(testSelectors[1])).toBeFocused(); 105 | const bb = await page.getByTestId(testSelectors[1]).boundingBox(); > 106 | expect(bb).toStrictEqual(getBoundingBoxForViewport(viewport, bb)); | ^ 107 | }); 108 | }); 109 | at /home/runner/work/nothing-but-photos/nothing-but-photos/e2e/smoke.spec.ts:106:16
[Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo: e2e/smoke.spec.ts#L106
2) [Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 1 + Received + 1 Object { "height": 82, "width": 81.49999618530273, - "x": 32, + "x": 51.674747467041016, "y": 32, } 104 | await expect(page.getByTestId(testSelectors[1])).toBeFocused(); 105 | const bb = await page.getByTestId(testSelectors[1]).boundingBox(); > 106 | expect(bb).toStrictEqual(getBoundingBoxForViewport(viewport, bb)); | ^ 107 | }); 108 | }); 109 | at /home/runner/work/nothing-but-photos/nothing-but-photos/e2e/smoke.spec.ts:106:16
[Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo: e2e/smoke.spec.ts#L106
2) [Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toStrictEqual(expected) // deep equality - Expected - 2 + Received + 2 Object { "height": 82, "width": 81.5, - "x": 32, - "y": 32, + "x": 26.341323852539062, + "y": -12.503456115722656, } 104 | await expect(page.getByTestId(testSelectors[1])).toBeFocused(); 105 | const bb = await page.getByTestId(testSelectors[1]).boundingBox(); > 106 | expect(bb).toStrictEqual(getBoundingBoxForViewport(viewport, bb)); | ^ 107 | }); 108 | }); 109 | at /home/runner/work/nothing-but-photos/nothing-but-photos/e2e/smoke.spec.ts:106:16
test
Process completed with exit code 1.
test
No files were found with the provided path: playwright-report/. No artifacts will be uploaded.
🎭 Playwright Run Summary
2 failed [Mobile Safari] › smoke.spec.ts:72:3 › Smoke tests › thumb is focused and animated to on return [Mobile Safari] › smoke.spec.ts:92:3 › Smoke tests › thumb is focused and animated to on return when starting on a photo 8 passed (1.0m)