Re-enable all skipped e2e tests for visual editor #757
ci.yml
on: pull_request
Matrix: e2e-test
Matrix: quality
Matrix: test
Annotations
11 errors, 1 warning, and 1 notice
quality: OTP 27 | Elixir 1.17 | Phoenix ~> 1.7 | LV ~> 1.0
The process '/usr/bin/git' failed with exit code 1
|
[chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
1) [chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states ──────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
1) [chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
1) [chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
2) [firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states ───────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
2) [firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states ───────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
2) [firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states ───────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
3) [webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states ────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L69
3) [webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByTestId('element-delete-button')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByTestId('element-delete-button')
67 | await expect(page.getByTestId("drag-button")).toBeVisible()
68 | await expect(page.getByTestId("drag-button-parent")).toBeVisible()
> 69 | await expect(page.getByTestId("element-delete-button")).toBeVisible()
| ^
70 |
71 | // Hover other items while in selection state
72 | /* TODO: improve selection and hover states while dragging.
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:69:59
|
[webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L15
3) [webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
13 | => await page.goto(`/admin/${siteName}/pages/c10358fe-ba05-4f47-b1b7-d5e52d3c1571?editor=visual`);
14 | */
> 15 | test.beforeEach(async ({ page }) => {
| ^
16 | await page.goto(`/admin/${siteName}/pages`)
17 | await syncLV(page)
18 | await page.getByRole("searchbox").fill("drag-n-drop")
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:15:6
|
[webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states:
test/e2e/tests/visual-editor/content.spec.ts#L22
3) [webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test ended.
Call log:
- waiting for getByRole('button', { name: 'Visual Editor' })
20 | await page.getByRole("cell", { name: pagePath, exact: true }).click()
21 | // Switch to visual editor
> 22 | await page.getByRole("button", { name: "Visual Editor" }).click()
| ^
23 | })
24 |
25 | test("shows fake browser with rendered content", async ({ page }) => {
at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/content.spec.ts:22:61
|
Slow Test:
test/e2e/[webkit] › tests/visual-editor/drag-and-drop.spec.ts#L1
test/e2e/[webkit] › tests/visual-editor/drag-and-drop.spec.ts took 18.8s
|
🎭 Playwright Run Summary
3 failed
[chromium] › tests/visual-editor/content.spec.ts:41:5 › selection states ───────────────────────
[firefox] › tests/visual-editor/content.spec.ts:41:5 › selection states ────────────────────────
[webkit] › tests/visual-editor/content.spec.ts:41:5 › selection states ─────────────────────────
3 flaky
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:93:5 › Reordering (vertically with margin)
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:132:5 › Reordering (grid, horizontally and vertically)
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────────
48 passed (5.7m)
|