feat: Support auto-starting slideshow #182
playwright.yml
on: pull_request
Playwright E2E tests
14m 48s
playwright-summary
6s
Annotations
2 errors, 1 warning, and 1 notice
|
[chromium] › playwright/e2e/videos/videos.spec.ts:37:2 › Open mp4 videos in viewer › See videos in the list:
playwright/e2e/videos/videos.spec.ts#L34
3) [chromium] › playwright/e2e/videos/videos.spec.ts:37:2 › Open mp4 videos in viewer › See videos in the list
TypeError: Cannot read properties of undefined (reading 'close')
32 |
33 | test.afterAll(async () => {
> 34 | await page.close()
| ^
35 | })
36 |
37 | test('See videos in the list', async () => {
at /home/runner/actions-runner/_work/viewer/viewer/playwright/e2e/videos/videos.spec.ts:34:14
|
|
[chromium] › playwright/mixins/oddname.ts:94:3 › Open image.png in viewer with a naughty name with sidebar › Does not see a loading animation:
playwright/support/viewerUtils.ts#L101
2) [chromium] › playwright/mixins/oddname.ts:94:3 › Open image.png in viewer with a naughty name with sidebar › Does not see a loading animation
Error: expect(locator).not.toHaveClass(expected) failed
Locator: locator('body > .viewer')
Expected pattern: not /icon-loading/
Received string: "modal-mask viewer modal-mask--opaque icon-loading theme--dark"
Call log:
- Expect "not toHaveClass" with timeout 30000ms
- waiting for locator('body > .viewer')
59 × locator resolved to <div id="viewer" role="dialog" tabindex="-1" aria-modal="true" data-v-e7118ae="" data-v-01926ad2="" data-v-71f8caaa="" clear-view-delay="-1" data-handler="images" aria-labelledby="modal-name-raomi" aria-describedby="modal-description-raomi" class="modal-mask viewer modal-mask--opaque icon-loading theme--dark">…</div>
- unexpected value "modal-mask viewer modal-mask--opaque icon-loading theme--dark"
at support/viewerUtils.ts:101
99 | // Generating the preview of a large image (image.png is 15 MB) can take a
100 | // while under parallel CPU load, so give the loading state room to clear.
> 101 | await expect(viewer).not.toHaveClass(/icon-loading/, { timeout: 30000 })
| ^
102 | }
103 |
at expectViewerLoaded (/home/runner/actions-runner/_work/viewer/viewer/playwright/support/viewerUtils.ts:101:27)
at /home/runner/actions-runner/_work/viewer/viewer/playwright/mixins/oddname.ts:95:4
|
|
Playwright E2E tests
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
3 flaky
[chromium] › playwright/mixins/image.ts:45:3 › Open image.png in viewer › Open the viewer on file click and wait for loading to end
[chromium] › playwright/mixins/oddname.ts:94:3 › Open image.png in viewer with a naughty name with sidebar › Does not see a loading animation
[chromium] › playwright/e2e/videos/videos.spec.ts:37:2 › Open mp4 videos in viewer › See videos in the list
18 skipped
307 passed (11.7m)
|