Skip to content

[Backport master] Fix Bug #137 #53

[Backport master] Fix Bug #137

[Backport master] Fix Bug #137 #53

Triggered via pull request March 9, 2024 20:50
Status Failure
Total duration 5m 55s
Artifacts 1

playwright.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 2 warnings, and 1 notice
[Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L20
1) [Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show ───────────────────────────── Error: locator.waitFor: Error: strict mode violation: locator('#photo-sphere-viewer-frame') resolved to 2 elements: 1) <iframe allowfullscreen="true" id="photo-sphere-viewer-f…></iframe> aka locator('#photo-sphere-viewer-frame').first() 2) <iframe allowfullscreen="true" id="photo-sphere-viewer-f…></iframe> aka locator('#photo-sphere-viewer-frame').nth(1) Call log: - waiting for locator('#photo-sphere-viewer-frame') to be visible 18 | // Open 1st time 19 | await panoLink.click(); > 20 | await page.locator(frameId).waitFor({ state: 'visible' }); | ^ 21 | 22 | expect(page.url()).toContain('/' + panoFileId + '?'); 23 | at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts:20:31
[Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L20
1) [Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show ───────────────────────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Error: strict mode violation: locator('#photo-sphere-viewer-frame') resolved to 2 elements: 1) <iframe allowfullscreen="true" id="photo-sphere-viewer-f…></iframe> aka locator('#photo-sphere-viewer-frame').first() 2) <iframe allowfullscreen="true" id="photo-sphere-viewer-f…></iframe> aka locator('#photo-sphere-viewer-frame').nth(1) Call log: - waiting for locator('#photo-sphere-viewer-frame') to be visible 18 | // Open 1st time 19 | await panoLink.click(); > 20 | await page.locator(frameId).waitFor({ state: 'visible' }); | ^ 21 | 22 | expect(page.url()).toContain('/' + panoFileId + '?'); 23 | at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts:20:31
[Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L20
1) [Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show ───────────────────────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Error: strict mode violation: locator('#photo-sphere-viewer-frame') resolved to 2 elements: 1) <iframe allowfullscreen="true" id="photo-sphere-viewer-f…></iframe> aka locator('#photo-sphere-viewer-frame').first() 2) <iframe allowfullscreen="true" id="photo-sphere-viewer-f…></iframe> aka locator('#photo-sphere-viewer-frame').nth(1) Call log: - waiting for locator('#photo-sphere-viewer-frame') to be visible 18 | // Open 1st time 19 | await panoLink.click(); > 20 | await page.locator(frameId).waitFor({ state: 'visible' }); | ^ 21 | 22 | expect(page.url()).toContain('/' + panoFileId + '?'); 23 | at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts:20:31
[Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L1
2) [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ─ Test timeout of 30000ms exceeded.
[Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L71
2) [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ─ Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('row', { name: 'Select the row for 360-video' }).getByLabel('Actions') 69 | test('360 video should show on context menu click', async ({ page }) => { 70 | // Note :: this test needs to run on Chrome because Chromium lacks support for 360 video codecs > 71 | await page.getByRole('row', { name: 'Select the row for 360-video' }).getByLabel('Actions').click(); | ^ 72 | await page.getByRole('menuitem', { name: 'View in 360° viewer' }).click(); 73 | 74 | await expect(page.frameLocator('#photo-sphere-viewer-frame').locator('#pano div').nth(1)).toBeVisible({ timeout: 1000 }); at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts:71:95
[Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L1
2) [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L71
2) [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ─ Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('row', { name: 'Select the row for 360-video' }).getByLabel('Actions') 69 | test('360 video should show on context menu click', async ({ page }) => { 70 | // Note :: this test needs to run on Chrome because Chromium lacks support for 360 video codecs > 71 | await page.getByRole('row', { name: 'Select the row for 360-video' }).getByLabel('Actions').click(); | ^ 72 | await page.getByRole('menuitem', { name: 'View in 360° viewer' }).click(); 73 | 74 | await expect(page.frameLocator('#photo-sphere-viewer-frame').locator('#pano div').nth(1)).toBeVisible({ timeout: 1000 }); at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts:71:95
[Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L1
2) [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click: apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts#L71
2) [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ─ Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('row', { name: 'Select the row for 360-video' }).getByLabel('Actions') 69 | test('360 video should show on context menu click', async ({ page }) => { 70 | // Note :: this test needs to run on Chrome because Chromium lacks support for 360 video codecs > 71 | await page.getByRole('row', { name: 'Select the row for 360-video' }).getByLabel('Actions').click(); | ^ 72 | await page.getByRole('menuitem', { name: 'View in 360° viewer' }).click(); 73 | 74 | await expect(page.frameLocator('#photo-sphere-viewer-frame').locator('#pano div').nth(1)).toBeVisible({ timeout: 1000 }); at /home/runner/actions-runner/_work/files_photospheres/files_photospheres/apps/files_photospheres/tests/E2E/tests/regular-fileview.spec.ts:71:95
test
Process completed with exit code 1.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@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.
🎭 Playwright Run Summary
2 failed [Google Chrome] › regular-fileview.spec.ts:10:5 › PPV should show ────────────────────────────── [Google Chrome] › regular-fileview.spec.ts:69:5 › 360 video should show on context menu click ── 5 passed (3.1m)

Artifacts

Produced during runtime
Name Size
nextcloud-logs Expired
0 Bytes