Skip to content

E2E Tests

E2E Tests #48

Manually triggered December 12, 2024 12:20
Status Failure
Total duration 30m 9s
Artifacts

test-e2e.yml

on: workflow_dispatch
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 1 warning, and 1 notice
[chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published : specs/cytoscape.spec.ts#L33
1) [chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published ─────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 31 | await block.getByRole('button', { name: 'Display graph' }).click() 32 | > 33 | const newPage = await editor.openPreviewPage() | ^ 34 | block = newPage.locator(selector).first() 35 | 36 | await expect(block.locator('canvas').first()).toBeVisible() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/cytoscape.spec.ts:33:32
[chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published : specs/cytoscape.spec.ts#L33
1) [chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 31 | await block.getByRole('button', { name: 'Display graph' }).click() 32 | > 33 | const newPage = await editor.openPreviewPage() | ^ 34 | block = newPage.locator(selector).first() 35 | 36 | await expect(block.locator('canvas').first()).toBeVisible() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/cytoscape.spec.ts:33:32
[chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published : specs/cytoscape.spec.ts#L33
1) [chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published ─────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 31 | await block.getByRole('button', { name: 'Display graph' }).click() 32 | > 33 | const newPage = await editor.openPreviewPage() | ^ 34 | block = newPage.locator(selector).first() 35 | 36 | await expect(block.locator('canvas').first()).toBeVisible() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/cytoscape.spec.ts:33:32
[chromium] › dataTable.spec.ts:7:6 › DataTable › should have title: specs/dataTable.spec.ts#L28
2) [chromium] › dataTable.spec.ts:7:6 › DataTable › should have title, icon, rows in editor/published TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 26 | expect(await tableBlock.getByRole('row').count()).toEqual(3) // including title bar 27 | > 28 | const newPage = await editor.openPreviewPage() | ^ 29 | await newPage.waitForEvent('load') 30 | tableBlock = newPage.locator(tableSelector).first() 31 | at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/dataTable.spec.ts:28:32
[chromium] › dataTable.spec.ts:7:6 › DataTable › should have title: specs/dataTable.spec.ts#L28
2) [chromium] › dataTable.spec.ts:7:6 › DataTable › should have title, icon, rows in editor/published Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 26 | expect(await tableBlock.getByRole('row').count()).toEqual(3) // including title bar 27 | > 28 | const newPage = await editor.openPreviewPage() | ^ 29 | await newPage.waitForEvent('load') 30 | tableBlock = newPage.locator(tableSelector).first() 31 | at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/dataTable.spec.ts:28:32
[chromium] › dataTable.spec.ts:7:6 › DataTable › should have title: specs/dataTable.spec.ts#L28
2) [chromium] › dataTable.spec.ts:7:6 › DataTable › should have title, icon, rows in editor/published Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 26 | expect(await tableBlock.getByRole('row').count()).toEqual(3) // including title bar 27 | > 28 | const newPage = await editor.openPreviewPage() | ^ 29 | await newPage.waitForEvent('load') 30 | tableBlock = newPage.locator(tableSelector).first() 31 | at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/dataTable.spec.ts:28:32
[chromium] › download.spec.ts:22:6 › Download › should have title: specs/download.spec.ts#L35
3) [chromium] › download.spec.ts:22:6 › Download › should have title, icon, label, fileContent in editor/published TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 33 | await assertDownload(page, block) 34 | > 35 | const newPage = await editor.openPreviewPage() | ^ 36 | await newPage.waitForEvent('load') 37 | 38 | block = newPage.locator(selector).first() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/download.spec.ts:35:32
[chromium] › download.spec.ts:22:6 › Download › should have title: specs/download.spec.ts#L35
3) [chromium] › download.spec.ts:22:6 › Download › should have title, icon, label, fileContent in editor/published Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 33 | await assertDownload(page, block) 34 | > 35 | const newPage = await editor.openPreviewPage() | ^ 36 | await newPage.waitForEvent('load') 37 | 38 | block = newPage.locator(selector).first() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/download.spec.ts:35:32
[chromium] › download.spec.ts:22:6 › Download › should have title: specs/download.spec.ts#L35
3) [chromium] › download.spec.ts:22:6 › Download › should have title, icon, label, fileContent in editor/published Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 33 | await assertDownload(page, block) 34 | > 35 | const newPage = await editor.openPreviewPage() | ^ 36 | await newPage.waitForEvent('load') 37 | 38 | block = newPage.locator(selector).first() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/download.spec.ts:35:32
[chromium] › dropdown.spec.ts:8:6 › Dropdown › should have title: specs/dropdown.spec.ts#L39
4) [chromium] › dropdown.spec.ts:8:6 › Dropdown › should have title, icon, options in editor/published TimeoutError: locator.click: Timeout 10000ms exceeded. Call log: - waiting for locator('role=region[name="Editor top bar"i]').locator('role=button[name="View"i]') 37 | await expect(viewerBlock.locator('textarea')).toHaveText(`"three"`) 38 | > 39 | const newPage = await editor.openPreviewPage() | ^ 40 | await newPage.waitForEvent('load') 41 | 42 | dropdown = newPage.locator(dropdownSelector).first() at Editor.openPreviewPage (/home/runner/work/inseri-core-wp/inseri-core-wp/node_modules/@wordpress/e2e-test-utils-playwright/src/editor/preview.ts:24:22) at /home/runner/work/inseri-core-wp/inseri-core-wp/specs/dropdown.spec.ts:39:32
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
24 failed [chromium] › cytoscape.spec.ts:23:6 › Cytoscape › should have graph when published ──────────── [chromium] › dataTable.spec.ts:7:6 › DataTable › should have title, icon, rows in editor/published [chromium] › download.spec.ts:22:6 › Download › should have title, icon, label, fileContent in editor/published [chromium] › dropdown.spec.ts:8:6 › Dropdown › should have title, icon, options in editor/published [chromium] › export.spec.ts:10:6 › Export › should have title, icon, label and contain all 3 files in editor/published [chromium] › html.spec.ts:7:6 › HTML › should have label, icon, content in editor/published ──── [chromium] › iiifViewer.spec.ts:8:6 › IIIF Viewer › should have title, icon, canvas, label in editor/published [chromium] › image.spec.ts:8:6 › Image › should have title, icon, image, caption in editor/published [chromium] › javascript.spec.ts:9:6 › Javascript › should have title, icon, input, output in editor/published [chromium] › localFileImport.spec.ts:7:6 › LocalFileImport › should have label, button, multiple files in editor/published [chromium] › mediaCollection.spec.ts:30:6 › MediaCollection › should have multiple files in editor/published [chromium] › plotly.spec.ts:18:6 › Plotly › should have label, icon, chart in editor/published ─ [chromium] › python.spec.ts:14:6 › Python › should have title, icon, input, output in editor/published [chromium] › python.spec.ts:70:6 › Python › should output file in editor/published ───────────── [chromium] › rCode.spec.ts:12:6 › R Code › should have title, icon, input, output in editor/published [chromium] › rCode.spec.ts:67:6 › R Code › should output file in editor/published ────────────── [chromium] › share.spec.ts:8:6 › Share › should have label, icon, url in editor/published ────── [chromium] › slider.spec.ts:16:6 › Slider › should have slider in editor/published ───────────── [chromium] › textEditor.spec.ts:28:6 › TextEditor › should have label, icon, text when published [chromium] › textEditor.spec.ts:63:6 › TextEditor › should have edit icon and send new outputs ─ [chromium] › textViewer.spec.ts:26:6 › TextViewer › should have label, icon, text when published [chromium] › textViewer.spec.ts:57:6 › TextViewer › should receive new inputs ────────────────── [chromium] › webApi.spec.ts:16:6 › WebApi › should have label, icon, content in editor/published [chromium] › zenodo.spec.ts:7:6 › Zenodo › should have title, icon, content in editor/published 1 flaky [chromium] › editor.spec.ts:39:6 › Editor › should duplicate blocks linked together ──────────── 7 passed (21.9m)