fail early when hook element is not owned by view (#3618) #7349
Annotations
1 error, 6 warnings, and 1 notice
Run e2e tests:
test/e2e/tests/errors.spec.js#L246
1) [webkit] › tests/errors.spec.js:240:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes
Error: expect(received).toEqual(expected) // deep equality
Expected: ArrayContaining [StringMatching /mount/, StringMatching /child error: unable to join/, StringMatching /child destroyed/, StringMatching /error: view crashed/, StringMatching /mount/, StringMatching /child mount/]
Received: ["phx-GB5HsJAhdvgjjncB mount: - {0: content=\"HywYAiUPBCwiOiBJJgULcDt-HgFwfVAwjtsVbiEkdeE9H2a9c9yu3Jh_\", 1: Object, s: undefined}", "child error: unable to join - {reason: join crashed}", "child destroyed: the child has been removed from the parent - undefined", "phx-GB5HsJAhdvgjjncB error: view crashed - {}", "phx-GB5HsJAhdvgjjncB mount: - {0: content=\"OCEyDT0-cx0qazYHVnoyAglzHTl0WlJeMyYYzX2Zl4Sw8MXKQ4zM7mj1\", 1: Object, s: undefined}"]
244 | // child crashed on mount, linked to parent -> parent crashed too
245 | // second mounts are successful
> 246 | expect(consoleMessages).toEqual(expect.arrayContaining([
| ^
247 | expect.stringMatching(/mount/),
248 | expect.stringMatching(/child error: unable to join/),
249 | expect.stringMatching(/child destroyed/),
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/errors.spec.js:246:31
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run e2e tests:
test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 29.8s
|
Run e2e tests:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 26.3s
|
Run e2e tests:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 22.4s
|
Run e2e tests:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 20.3s
|
Run e2e tests:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.5s
|
Run e2e tests
1 flaky
[webkit] › tests/errors.spec.js:240:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes
323 passed (2.5m)
|
Loading