chore(deps): update dependency dompurify to v3.4.13 [security] (master) #74
playwright.yml
on: pull_request
Playwright E2E tests
8m 45s
playwright-summary
7s
Annotations
8 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
6) [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/3XGQF4yBTWitDg9/"
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/3XGQF4yBTWitDg9/"/>
- unexpected value "http://localhost:8081/public.php/dav/files/3XGQF4yBTWitDg9/"
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
6) [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/SKtbfEXXdQTJron/"
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/SKtbfEXXdQTJron/"/>
- unexpected value "http://localhost:8081/public.php/dav/files/SKtbfEXXdQTJron/"
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
5) [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/kfbxc/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/kfbxc/image.png"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/kfbxc/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
5) [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/ziz7i/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/ziz7i/image.png"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/ziz7i/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:41:3 βΊ Open image.ico in viewer βΊ See image.ico in the list:
playwright/mixins/image.ts#L38
2) [chromium] βΊ playwright/mixins/image.ts:41:3 βΊ Open image.ico in viewer βΊ See image.ico in the list
TypeError: Cannot read properties of undefined (reading 'close')
36 |
37 | test.afterAll(async () => {
> 38 | await page.close()
| ^
39 | })
40 |
41 | test(`See ${fileName} in the list`, async () => {
at /home/runner/work/viewer/viewer/playwright/mixins/image.ts:38:15
|
|
[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
2 failed
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png 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
4 flaky
[chromium] βΊ playwright/e2e/a11y.spec.ts:37:2 βΊ A11y tests βΊ See files in the list βββββββββββββ
[chromium] βΊ playwright/mixins/image.ts:41:3 βΊ Open image.ico in viewer βΊ See image.ico in the list
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.webp in viewer βΊ The image source is the preview url
[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
304 passed (7.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-traces
Expired
|
148 MB |
sha256:77138eb07f5d133d0e75e308ef3299695d31017558aee9dd00cbbe83700fe9bd
|
|