Make sure show image actionhandler is only called once #67
Annotations
10 errors, 3 warnings, and 1 notice
test
Error: expect(locator).not.toBeVisible()
Locator: frameLocator('#photo-sphere-viewer-frame').getByRole('button', { name: 'Close' })
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 5000ms
- waiting for frameLocator('#photo-sphere-viewer-frame').getByRole('button', { name: 'Close' })
Failed worker ran 4 tests:
[Google Chrome] › tests/regular-fileview.spec.ts:10:5 › PPV should show
[Google Chrome] › tests/regular-fileview.spec.ts:53:5 › PPV should not show
[Google Chrome] › tests/regular-fileview.spec.ts:69:5 › 360 video should show on context menu click
[Google Chrome] › tests/single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg)
at single-fileshare.spec.ts:63
61 |
62 | // Close button should not be visible on single file share
> 63 | expect(ppvLocator.getByRole('button', { name: 'Close' })).not.toBeVisible();
| ^
64 | });
65 |
66 | test('PPV should not show (single file share for non-pano.jpg)', async ({ page }) => {
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts:63:65
|
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L13
1) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
Test timeout of 30000ms exceeded while running "afterEach" hook.
11 | });
12 |
> 13 | test.afterEach(async ({ page }) => {
| ^
14 | await unshare(page);
15 | });
16 |
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:13:6
|
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L32
1) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'ppv-testfiles' })
30 | await page.goto(baseUrl);
31 | await page.getByLabel('Files', { exact: true }).click();
> 32 | await page.getByRole('button', { name: 'ppv-testfiles' }).click();
| ^
33 | await page.locator('.files-list__header-share-button').click();
34 | await page.getByLabel('Actions for "Share link"').click();
35 | await page.getByRole('menuitem', { name: 'Unshare' }).click();
at unshare (/home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:32:61)
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:14:3
|
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L6
1) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
4 | const playwright = require('playwright');
5 |
> 6 | test.beforeEach(async ({ page }) => {
| ^
7 | await loginAndSwitchToPPVTestFiles(page);
8 | await removeDirectoryShare(page);
9 | const shareLink = await shareDirectory(page);
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:6:6
|
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L13
1) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "afterEach" hook.
11 | });
12 |
> 13 | test.afterEach(async ({ page }) => {
| ^
14 | await unshare(page);
15 | });
16 |
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:13:6
|
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L30
1) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.goto: Test timeout of 30000ms exceeded.
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
28 |
29 | async function unshare(page) {
> 30 | await page.goto(baseUrl);
| ^
31 | await page.getByLabel('Files', { exact: true }).click();
32 | await page.getByRole('button', { name: 'ppv-testfiles' }).click();
33 | await page.locator('.files-list__header-share-button').click();
at unshare (/home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:30:14)
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:14:9
|
[Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg):
apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts#L12
2) [Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg)
Test timeout of 30000ms exceeded while running "afterEach" hook.
10 | });
11 |
> 12 | test.afterEach(async ({ page }) => {
| ^
13 | await unshare(page);
14 | });
15 |
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts:12:6
|
[Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg):
apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts#L33
2) [Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg)
Error: page.goto: net::ERR_ABORTED; maybe frame was detached?
Call log:
- navigating to "http://localhost:8080/", waiting until "load"
31 |
32 | async function unshare(page) {
> 33 | await page.goto(baseUrl);
| ^
34 | await page.getByLabel('Files', { exact: true }).click();
35 | await page.getByRole('button', { name: 'ppv-testfiles' }).click();
36 | await page.locator("[data-cy-files-list-row-name='" + fileName + "'] .files-list__row-mtime").click();
at unshare (/home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts:33:14)
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts:13:9
|
[Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg):
apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts#L1
2) [Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
[Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg):
apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts#L60
2) [Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg)
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for frameLocator('#photo-sphere-viewer-frame').getByTitle('Automatic rotation').getByRole('img')
- locator resolved to <svg overflow="visible" viewBox="0 0 41 41" class="ps…>…</svg>
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element was detached from the DOM, retrying
58 |
59 | // Check autorotate button
> 60 | await ppvLocator.getByTitle('Automatic rotation').getByRole('img').click();
| ^
61 |
62 | // Close button should not be visible on single file share
63 | expect(ppvLocator.getByRole('button', { name: 'Close' })).not.toBeVisible();
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/single-fileshare.spec.ts:60:70
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
test
No files were found with the provided path: apps/files_photospheres/tests/E2E/playwright-report/. No artifacts will be uploaded.
|
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "nextcloud-logs".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
🎭 Playwright Run Summary
3 failed
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
[Google Chrome] › single-fileshare.spec.ts:51:5 › PPV should show directly (single file share for pano.jpg)
[Google Chrome] › single-fileshare.spec.ts:66:5 › PPV should not show (single file share for non-pano.jpg)
4 passed (7.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nextcloud-logs
Expired
|
464 Bytes |
|