[master] ci(actions): Update workflow templates from organization template repository #83
playwright.yml
on: pull_request
Playwright E2E tests
9m 52s
playwright-summary
7s
Annotations
5 errors, 1 warning, and 1 notice
|
Playwright E2E tests
Process completed with exit code 1.
|
|
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url:
playwright/mixins/image.ts#L71
4) [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/t1a4a/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')
33 Γ locator resolved to <img class="loaded" alt="image.png" data-v-38b7dcaa="" src="http://localhost:8081/remote.php/dav/files/t1a4a/image.png"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/t1a4a/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/actions-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
4) [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/4dv3f/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')
33 Γ locator resolved to <img class="loaded" alt="image.png" data-v-38b7dcaa="" src="http://localhost:8081/remote.php/dav/files/4dv3f/image.png"/>
- unexpected value "http://localhost:8081/remote.php/dav/files/4dv3f/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/actions-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/actions-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
1 failed
[chromium] βΊ playwright/mixins/image.ts:70:3 βΊ Open image.png in viewer βΊ The image source is the preview url
5 flaky
[chromium] βΊ playwright/e2e/a11y.spec.ts:37:2 βΊ A11y tests βΊ See files 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)
[chromium] βΊ playwright/e2e/images/images-custom-list.spec.ts:90:2 βΊ Open custom images list in viewer βΊ The image source is the preview url (image1)
[chromium] βΊ playwright/e2e/images/images.spec.ts:53:2 βΊ Open images in viewer βΊ The image source is the preview url (image1)
18 skipped
304 passed (7.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-traces
Expired
|
197 MB |
sha256:e3778d8ae9913895a8a38eae5478716d995197ce76bfa405d316ed42f30a8742
|
|