Chore(deps): Bump dompurify from 3.4.11 to 3.4.13 #108
playwright.yml
on: pull_request
Playwright E2E tests
8m 8s
playwright-summary
14s
Annotations
9 errors, 1 warning, and 1 notice
|
Playwright E2E tests
Process completed with exit code 1.
|
|
[chromium] βΊ playwright/e2e/sharing/single-file-share.spec.ts:28:2 βΊ See shared single file with link share βΊ Opens the shared image in the viewer:
playwright/support/viewerUtils.ts#L75
5) [chromium] βΊ playwright/e2e/sharing/single-file-share.spec.ts:28:2 βΊ See shared single file with link share βΊ Opens the shared image in the viewer
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveAttribute(expected) failed
Locator: locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
Expected pattern: /\/apps\/files_sharing\/publicpreview\//
Received string: "http://localhost:8081/public.php/dav/files/ay4BWsFtaH6TEwQ/"
Timeout: 15000ms
Call log:
- Expect "toHaveAttribute" with timeout 15000ms
- waiting for locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
34 Γ locator resolved to <img alt="" class="loaded" data-v-38b7dcaa="" src="http://localhost:8081/public.php/dav/files/ay4BWsFtaH6TEwQ/"/>
- unexpected value "http://localhost:8081/public.php/dav/files/ay4BWsFtaH6TEwQ/"
at support/viewerUtils.ts:75
73 | urlFragment: string,
74 | ): Promise<void> {
> 75 | await expect(getActiveMedia(page, type)).toHaveAttribute('src', new RegExp(escapeRegExp(urlFragment)))
| ^
76 | }
77 |
78 | /** Open the viewer header actions menu. */
at expectActiveSource (/home/runner/work/viewer/viewer/playwright/support/viewerUtils.ts:75:43)
at /home/runner/work/viewer/viewer/playwright/e2e/sharing/single-file-share.spec.ts:37:9
|
|
[chromium] βΊ playwright/e2e/sharing/single-file-share.spec.ts:28:2 βΊ See shared single file with link share βΊ Opens the shared image in the viewer:
playwright/support/viewerUtils.ts#L75
5) [chromium] βΊ playwright/e2e/sharing/single-file-share.spec.ts:28:2 βΊ See shared single file with link share βΊ Opens the shared image in the viewer
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveAttribute(expected) failed
Locator: locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
Expected pattern: /\/apps\/files_sharing\/publicpreview\//
Received string: "http://localhost:8081/public.php/dav/files/CZ3n8F8Yg9AwG8q/"
Timeout: 15000ms
Call log:
- Expect "toHaveAttribute" with timeout 15000ms
- waiting for locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
34 Γ locator resolved to <img alt="" class="loaded" data-v-38b7dcaa="" src="http://localhost:8081/public.php/dav/files/CZ3n8F8Yg9AwG8q/"/>
- unexpected value "http://localhost:8081/public.php/dav/files/CZ3n8F8Yg9AwG8q/"
at support/viewerUtils.ts:75
73 | urlFragment: string,
74 | ): Promise<void> {
> 75 | await expect(getActiveMedia(page, type)).toHaveAttribute('src', new RegExp(escapeRegExp(urlFragment)))
| ^
76 | }
77 |
78 | /** Open the viewer header actions menu. */
at expectActiveSource (/home/runner/work/viewer/viewer/playwright/support/viewerUtils.ts:75:43)
at /home/runner/work/viewer/viewer/playwright/e2e/sharing/single-file-share.spec.ts:37:9
|
|
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url:
playwright/mixins/image.ts#L71
3) [chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveAttribute(expected) failed
Locator: locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
Expected pattern: /\/index\.php\/core\/preview/
Received string: "http://localhost:8081/remote.php/dav/files/v62sw/image.png"
Timeout: 15000ms
Call log:
- Expect "toHaveAttribute" with timeout 15000ms
- waiting for locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
34 Γ locator resolved to <img class="loaded" alt="image.png" data-v-38b7dcaa="" src="http://localhost:8081/remote.php/dav/files/v62sw/image.png"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/v62sw/image.png"
69 |
70 | test(`The image source is the ${source ? 'remote' : 'preview'} url`, async () => {
> 71 | await expect(getActiveMedia(page, 'img')).toHaveAttribute('src', new RegExp(escapeRegExp(source ?? '/index.php/core/preview')))
| ^
72 | })
73 | })
74 | }
at /home/runner/work/viewer/viewer/playwright/mixins/image.ts:71:46
|
|
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url:
playwright/mixins/image.ts#L71
3) [chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveAttribute(expected) failed
Locator: locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
Expected pattern: /\/index\.php\/core\/preview/
Received string: "http://localhost:8081/remote.php/dav/files/liq57k/image.png"
Timeout: 15000ms
Call log:
- Expect "toHaveAttribute" with timeout 15000ms
- waiting for locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
34 Γ locator resolved to <img class="loaded" alt="image.png" data-v-38b7dcaa="" src="http://localhost:8081/remote.php/dav/files/liq57k/image.png"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/liq57k/image.png"
69 |
70 | test(`The image source is the ${source ? 'remote' : 'preview'} url`, async () => {
> 71 | await expect(getActiveMedia(page, 'img')).toHaveAttribute('src', new RegExp(escapeRegExp(source ?? '/index.php/core/preview')))
| ^
72 | })
73 | })
74 | }
at /home/runner/work/viewer/viewer/playwright/mixins/image.ts:71:46
|
|
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.webp in viewer βΊ The image source is the preview url:
playwright/mixins/image.ts#L71
2) [chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.webp in viewer βΊ The image source is the preview url
Retry #2 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveAttribute(expected) failed
Locator: locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
Expected pattern: /\/index\.php\/core\/preview/
Received string: "http://localhost:8081/remote.php/dav/files/6m031/image.webp"
Timeout: 15000ms
Call log:
- Expect "toHaveAttribute" with timeout 15000ms
- waiting for locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
34 Γ locator resolved to <img class="loaded" alt="image.webp" data-v-38b7dcaa="" src="http://localhost:8081/remote.php/dav/files/6m031/image.webp"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/6m031/image.webp"
69 |
70 | test(`The image source is the ${source ? 'remote' : 'preview'} url`, async () => {
> 71 | await expect(getActiveMedia(page, 'img')).toHaveAttribute('src', new RegExp(escapeRegExp(source ?? '/index.php/core/preview')))
| ^
72 | })
73 | })
74 | }
at /home/runner/work/viewer/viewer/playwright/mixins/image.ts:71:46
|
|
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.webp in viewer βΊ The image source is the preview url:
playwright/mixins/image.ts#L71
2) [chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.webp in viewer βΊ The image source is the preview url
Retry #1 βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Error: expect(locator).toHaveAttribute(expected) failed
Locator: locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
Expected pattern: /\/index\.php\/core\/preview/
Received string: "http://localhost:8081/remote.php/dav/files/j9gfa/image.webp"
Timeout: 15000ms
Call log:
- Expect "toHaveAttribute" with timeout 15000ms
- waiting for locator('body > .viewer').locator('.modal-container .viewer__file.viewer__file--active img')
34 Γ locator resolved to <img class="loaded" alt="image.webp" data-v-38b7dcaa="" src="http://localhost:8081/remote.php/dav/files/j9gfa/image.webp"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/j9gfa/image.webp"
69 |
70 | test(`The image source is the ${source ? 'remote' : 'preview'} url`, async () => {
> 71 | await expect(getActiveMedia(page, 'img')).toHaveAttribute('src', new RegExp(escapeRegExp(source ?? '/index.php/core/preview')))
| ^
72 | })
73 | })
74 | }
at /home/runner/work/viewer/viewer/playwright/mixins/image.ts:71:46
|
|
[chromium] βΊ playwright/e2e/a11y.spec.ts:37:2 βΊ A11y tests βΊ See files in the list:
playwright/e2e/a11y.spec.ts#L34
1) [chromium] βΊ playwright/e2e/a11y.spec.ts:37:2 βΊ A11y tests βΊ See files 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 files in the list', async () => {
at /home/runner/work/viewer/viewer/playwright/e2e/a11y.spec.ts:34:14
|
|
playwright-summary
Process completed with exit code 1.
|
|
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 failed
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.webp in viewer βΊ The image source is the preview url
[chromium] βΊ playwright/e2e/sharing/single-file-share.spec.ts:28:2 βΊ See shared single file with link share βΊ Opens the shared image in the viewer
2 flaky
[chromium] βΊ playwright/e2e/a11y.spec.ts:37:2 βΊ A11y tests βΊ See files in the list βββββββββββββ
[chromium] βΊ playwright/e2e/images/images-custom-list-loadmore.spec.ts:106:2 βΊ Open custom list of images in viewer with pagination βΊ The image source is the preview url (image2)
18 skipped
305 passed (6.4m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-traces
Expired
|
152 MB |
sha256:8a442a68f443e16ff44921ccad7307cd7032505b441f6ec878831351af21bb39
|
|