[WIP] Spike sidebar in liveview #751
ci.yml
on: pull_request
Matrix: e2e-test
Matrix: quality
Matrix: test
Annotations
9 errors, 8 warnings, and 1 notice
quality: OTP 27 | Elixir 1.17 | Phoenix ~> 1.7 | LV ~> 1.0
Process completed with exit code 1.
|
test: OTP 27 | Elixir 1.17 | Phoenix ~> 1.7 | LV ~> 1.0 | PG 16.4-alpine:
test/beacon/live_admin/live/page_editor_live/visual_editor_test.exs#L14
test change id (Beacon.LiveAdmin.PageEditorLive.VisualEditorTest)
|
test: OTP 27 | Elixir 1.17 | Phoenix ~> 1.7 | LV ~> 1.0 | PG 16.4-alpine
Process completed with exit code 2.
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine:
test/beacon/live_admin/live/page_editor_live/visual_editor_test.exs#L14
test change id (Beacon.LiveAdmin.PageEditorLive.VisualEditorTest)
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine
Process completed with exit code 2.
|
[firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content:
test/e2e/tests/visual-editor/content.spec.ts#L15
1) [firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content
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
|
[firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content:
test/e2e/tests/visual-editor/content.spec.ts#L22
1) [firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content
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
|
[firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content:
test/e2e/tests/visual-editor/content.spec.ts#L15
1) [firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content:
test/e2e/tests/visual-editor/content.spec.ts#L22
1) [firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
test: OTP 27 | Elixir 1.17 | Phoenix ~> 1.7 | LV ~> 1.0 | PG 16.4-alpine
first..last inside match is deprecated, you must always match on the step: first..last//var or first..last//_ if you want to ignore it
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine
Macro.Env.define_import/4 is undefined or private
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine
Macro.Env.define_require/4 is undefined or private
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine
Macro.Env.expand_alias/4 is undefined or private
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine
Macro.Env.expand_import/5 is undefined or private
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine
Macro.Env.expand_require/6 is undefined or private
|
test: OTP 25.1 | Elixir 1.14.0 | Phoenix 1.7.0 | LV 0.20.2 | PG 13.0-alpine:
lib/beacon/live_admin/components/visual_editor/properties_sidebar_component.ex#L13
variable "page" is unused (if the variable is not meant to be used, prefix it with an underscore)
|
Slow Test:
test/e2e/[webkit] › tests/index.spec.ts#L1
test/e2e/[webkit] › tests/index.spec.ts took 17.5s
|
🎭 Playwright Run Summary
1 flaky
[firefox] › tests/visual-editor/content.spec.ts:25:5 › shows fake browser with rendered content
12 skipped
35 passed (2.1m)
|