Skip to content

JS Hooks

JS Hooks #810

Triggered via pull request February 5, 2025 00:27
@APB9785APB9785
synchronize #325
apb/js-hooks
Status Failure
Total duration 11m 22s
Artifacts

ci.yml

on: pull_request
Matrix: e2e-test
Matrix: quality
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

23 errors, 9 warnings, and 1 notice
quality: OTP 27 | Elixir 1.18 | Phoenix ~> 1.7 | LV ~> 1.0
Process completed with exit code 1.
test: OTP 27 | Elixir 1.18 | Phoenix ~> 1.7 | LV ~> 1.0 | PG 16.4-alpine: test/beacon/live_admin/live/js_hook_editor_live/index_test.exs#L74
test display a site selector (Beacon.LiveAdmin.JSHookEditorLive.IndexTest)
test: OTP 27 | Elixir 1.18 | Phoenix ~> 1.7 | LV ~> 1.0 | PG 16.4-alpine: test/beacon/live_admin/live/js_hook_editor_live/index_test.exs#L14
test select js hook via path (Beacon.LiveAdmin.JSHookEditorLive.IndexTest)
test: OTP 27 | Elixir 1.18 | 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
Process completed with exit code 2.
[chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L1
1) [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────── Test timeout of 30000ms exceeded.
[chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L211
1) [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────── Error: locator.click: Test ended. Call log: - waiting for getByRole('button', { name: 'Visual Editor' }) 209 | await page.reload() 210 | await syncLV(page) > 211 | await page.getByRole("button", { name: "Visual Editor" }).click() | ^ 212 | 213 | await verifyOrder(page, "[data-testid^=margin-row-item-]", newOrder) 214 | }) at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/drag-and-drop.spec.ts:211:61
[chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L1
1) [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L211
1) [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test ended. Call log: - waiting for getByRole('button', { name: 'Visual Editor' }) 209 | await page.reload() 210 | await syncLV(page) > 211 | await page.getByRole("button", { name: "Visual Editor" }).click() | ^ 212 | 213 | await verifyOrder(page, "[data-testid^=margin-row-item-]", newOrder) 214 | }) at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/drag-and-drop.spec.ts:211:61
[chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L1
1) [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L211
1) [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ──────────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test ended. Call log: - waiting for getByRole('button', { name: 'Visual Editor' }) 209 | await page.reload() 210 | await syncLV(page) > 211 | await page.getByRole("button", { name: "Visual Editor" }).click() | ^ 212 | 213 | await verifyOrder(page, "[data-testid^=margin-row-item-]", newOrder) 214 | }) at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/drag-and-drop.spec.ts:211:61
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L1
2) [firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ───────────── Test timeout of 30000ms exceeded.
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L211
2) [firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ───────────── Error: locator.click: Test ended. Call log: - waiting for getByRole('button', { name: 'Visual Editor' }) 209 | await page.reload() 210 | await syncLV(page) > 211 | await page.getByRole("button", { name: "Visual Editor" }).click() | ^ 212 | 213 | await verifyOrder(page, "[data-testid^=margin-row-item-]", newOrder) 214 | }) at /home/runner/work/beacon_live_admin/beacon_live_admin/test/e2e/tests/visual-editor/drag-and-drop.spec.ts:211:61
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/tests/visual-editor/drag-and-drop.spec.ts#L1
2) [firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 30000ms exceeded.
[firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save: test/e2e/[pid=11433][out] getEngineConfiguration@resource:/gre/modules/SearchEngineSelector.sys.mjs#L73
2) [firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ───────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test ended. Browser logs: <launching> /home/runner/.cache/ms-playwright/firefox-1463/firefox/firefox -no-remote -headless -profile /tmp/playwright_firefoxdev_profile-u7GmCO -juggler-pipe -silent <launched> pid=11433 [pid=11433][err] *** You are running in headless mode. [pid=11433][err] JavaScript warning: resource://services-settings/Utils.sys.mjs, line 114: unreachable code after return statement [pid=11433][out] console.warn: services.settings: Ignoring preference override of remote settings server [pid=11433][out] console.warn: services.settings: Allow by setting MOZ_REMOTE_SETTINGS_DEVTOOLS=1 in the environment [pid=11433][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: Unable to open a connection to the X server (t=0.229927) [GFX1-]: glxtest: Unable to open a connection to the X server [pid=11433][out] console.error: ({}) [pid=11433][out] [pid=11433][out] Juggler listening to the pipe [pid=11433][out] console.error: ({}) [pid=11433][out] console.error: SearchEngineSelector: "Received empty search configuration!" [pid=11433][err] JavaScript error: resource://activity-stream/lib/WallpaperFeed.sys.mjs, line 41: TypeError: / is not a valid URL. [pid=11433][out] console.error: "Received empty top sites configuration!" [pid=11433][out] console.error: SearchEngineSelector: "Received empty search configuration!" [pid=11433][out] console.error: SearchService: "#init: failure initializing search:" ({}) [pid=11433][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=11433][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=11433][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=11433][err] JavaScript error: resource://gre/modules/SearchEngineSelector.sys.mjs, line 73: NS_ERROR_UNEXPECTED: Failed to get engine data from Remote Settings [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][out] console.error: "Received empty top sites configuration!" [pid=11433][out] console.error: WebExtensions: [pid=11433][out] Message: [Exception... "Failed to get engine data from Remote Settings" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" location: "JS frame :: resource://gre/modules/SearchEngineSelector.sys.mjs :: getEngineConfiguration :: line 73" data: no] [pid=11433][out] Stack: [pid=11433][out] getEngineConfiguration@resource://gre/modules/SearchEngineSelector.sys.mjs:73:24 [pid=11433][out] [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][out] console.error: SearchSettings: "_write: Could not write to settings file:" (new Error("cannot write without any engine.", "resource://gre/modules/SearchSettings.sys.mjs", 303)) [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][err] JavaScript error: resource:///modules/SearchModeSwitcher.sys.mjs, line 187: TypeError: engine is null [pid=11433][err] JavaScript error: http://localhost:4020/__beac
quality: OTP 27 | Elixir 1.18 | Phoenix ~> 1.7 | LV ~> 1.0
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 27 | Elixir 1.18 | 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
e2e-test: OTP 27 | Elixir 1.18 | 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
Slow Test: test/e2e/[webkit] › tests/index.spec.ts#L1
test/e2e/[webkit] › tests/index.spec.ts took 17.2s
🎭 Playwright Run Summary
3 failed [chromium] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ───────────── [firefox] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ────────────── [webkit] › tests/visual-editor/drag-and-drop.spec.ts:173:5 › Persistence on save ─────────────── 2 flaky [firefox] › tests/visual-editor/drag-and-drop.spec.ts:93:5 › Reordering (vertically with margin) [webkit] › tests/visual-editor/drag-and-drop.spec.ts:32:5 › It shows clones and placeholder for initiated drop location 49 passed (7.8m)