chore: setup playwright #7
e2e.yml
on: pull_request
Matrix: test
merge-reports
11s
Annotations
11 errors, 4 warnings, and 4 notices
e2e.test.ts:33:7 › astro › desktop:
e2e/e2e.test.ts#L60
1) e2e.test.ts:33:7 › astro › desktop ────────────────────────────────────────────────────────────
Error: expect(received).toHaveLoadedImage(expected)
58 | await expect(os).toHaveJSProperty("width", 600);
59 | await expect(os).toHaveJSProperty("height", 800);
> 60 | await expect(os).not.toHaveLoadedImage();
| ^
61 | await os.scrollIntoViewIfNeeded();
62 | await expect(os).toBeInViewport();
63 | await expect(os).toHaveLoadedImage();
at /home/runner/work/unpic-img/unpic-img/e2e/e2e.test.ts:60:26
|
e2e.test.ts:68:7 › astro › mobile:
e2e/e2e.test.ts#L95
2) e2e.test.ts:68:7 › astro › mobile ─────────────────────────────────────────────────────────────
Error: expect(received).toHaveLoadedImage(expected)
93 | await expect(os).toHaveJSProperty("width", 400);
94 | await expect(os).toHaveJSProperty("height", aspectRatio(400, 3 / 4));
> 95 | await expect(os).not.toHaveLoadedImage();
| ^
96 | await os.scrollIntoViewIfNeeded();
97 | await expect(os).toBeInViewport();
98 | await expect(os).toHaveLoadedImage();
at /home/runner/work/unpic-img/unpic-img/e2e/e2e.test.ts:95:26
|
test (astro)
Process completed with exit code 1.
|
test (qwik)
The job was canceled because "astro" failed.
|
test (qwik)
The operation was canceled.
|
test (preact)
The job was canceled because "astro" failed.
|
test (preact)
The operation was canceled.
|
test (react)
The job was canceled because "astro" failed.
|
test (react)
The operation was canceled.
|
e2e.test.ts:33:7 › astro › desktop:
e2e/e2e.test.ts#L60
1) e2e.test.ts:33:7 › astro › desktop ────────────────────────────────────────────────────────────
Error: expect(received).toHaveLoadedImage(expected)
58 | await expect(os).toHaveJSProperty("width", 600);
59 | await expect(os).toHaveJSProperty("height", 800);
> 60 | await expect(os).not.toHaveLoadedImage();
| ^
61 | await os.scrollIntoViewIfNeeded();
62 | await expect(os).toBeInViewport();
63 | await expect(os).toHaveLoadedImage();
at /home/runner/work/unpic-img/unpic-img/e2e/e2e.test.ts:60:26
|
e2e.test.ts:68:7 › astro › mobile:
e2e/e2e.test.ts#L95
2) e2e.test.ts:68:7 › astro › mobile ─────────────────────────────────────────────────────────────
Error: expect(received).toHaveLoadedImage(expected)
93 | await expect(os).toHaveJSProperty("width", 400);
94 | await expect(os).toHaveJSProperty("height", aspectRatio(400, 3 / 4));
> 95 | await expect(os).not.toHaveLoadedImage();
| ^
96 | await os.scrollIntoViewIfNeeded();
97 | await expect(os).toBeInViewport();
98 | await expect(os).toHaveLoadedImage();
at /home/runner/work/unpic-img/unpic-img/e2e/e2e.test.ts:95:26
|
🎭 Playwright Run Summary
2 failed
e2e.test.ts:33:7 › astro › desktop ─────────────────────────────────────────────────────────────
e2e.test.ts:68:7 › astro › mobile ──────────────────────────────────────────────────────────────
|
🎭 Playwright Run Summary
2 passed (33.5s)
|
🎭 Playwright Run Summary
2 passed (23.5s)
|
🎭 Playwright Run Summary
2 failed
e2e.test.ts:33:7 › astro › desktop ─────────────────────────────────────────────────────────────
e2e.test.ts:68:7 › astro › mobile ──────────────────────────────────────────────────────────────
4 passed (33.5s)
|
test (astro)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test (react)
No files were found with the provided path: blob-report. No artifacts will be uploaded.
|
merge-reports
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Slow Test:
e2e.test.ts#L1
e2e.test.ts took 24.4s
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
blob-report-astro
Expired
|
6.51 KB |
|
blob-report-preact
Expired
|
7.33 KB |
|
blob-report-qwik
Expired
|
8.48 KB |
|
html-report--attempt-1
Expired
|
183 KB |
|