Make sure show image actionhandler is only called once (#146) #68
Annotations
10 errors, 3 warnings, and 1 notice
[Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L6
1) [Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg
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:45:5 › PPV should show on click on directory shared pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L47
1) [Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'pano .jpg Actions', exact: true })
45 | test('PPV should show on click on directory shared pano.jpg', async ({ page }) => {
46 | // Open pano
> 47 | await page.getByRole('link', { name: 'pano .jpg Actions', exact: true }).click();
| ^
48 | await page.locator(frameId).waitFor({ state: 'visible', timeout: 5000 });
49 | const ppvLocator = page.frameLocator(frameId);
50 |
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:47:76
|
[Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L6
1) [Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared 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:45:5 › PPV should show on click on directory shared pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L21
1) [Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByRole('menuitem', { name: 'Unshare' })
- locator resolved to <button title="" type="button" role="menuitem" data-v-51…>…</button>
- 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
19 | await page.getByLabel('Shared by link').click({ timeout: 2000 });
20 | await page.getByLabel('Actions for "Share link"').click();
> 21 | await page.getByRole('menuitem', { name: 'Unshare' }).click();
| ^
22 | }
23 | catch (e) {
24 | if (!(e instanceof playwright.errors.TimeoutError))
at removeDirectoryShare (/home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:21:59)
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:8:3
|
[Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L13
1) [Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared 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:45:5 › PPV should show on click on directory shared pano.jpg:
apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts#L30
1) [Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared 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] › 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
2) [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#L30
2) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
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] › 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
2) [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#L31
2) [Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Files', { exact: true })
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();
34 | await page.getByLabel('Actions for "Share link"').click();
at unshare (/home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:31:51)
at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/directory-share.spec.ts:14:3
|
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
1 failed
[Google Chrome] › directory-share.spec.ts:45:5 › PPV should show on click on directory shared pano.jpg
1 flaky
[Google Chrome] › directory-share.spec.ts:56:5 › PPV should not show on click on directory shared non-pano.jpg
5 passed (5.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
nextcloud-logs
Expired
|
464 Bytes |
|