small refactor of on_error tests #7358
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-GB6KCW_Uv_pb5ofh mount: - {0: content=\"akQDLRMBDhcVLyIXDwoKGlBuWDU4FXkp_r7xLgQEDCFMdZRV57kqLW2Z\", 1: Object, s: undefined}", "child error: unable to join - {reason: join crashed}", "child destroyed: the child has been removed from the parent - undefined", "phx-GB6KCW_Uv_pb5ofh error: view crashed - {}", "phx-GB6KCW_Uv_pb5ofh mount: - {0: content=\"cWBWECUOERYzWh08LTgbYQ8WXz4sD383DVbEzhNDb6yfFhC-jOlzXM4D\", 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 30.4s
|
Run e2e tests:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 26.5s
|
Run e2e tests:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 22.1s
|
Run e2e tests:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 20.4s
|
Run e2e tests:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.4s
|
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