actually warn, don't raise on duplicate ids in LiveViewTest (#3603) #7217
Annotations
1 error, 6 warnings, and 1 notice
Run e2e tests:
test/e2e/tests/errors.spec.js#L269
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 - 4
+ Received + 3
Array [
- StringMatching /child error: view crashed/,
- StringMatching /child destroyed/,
- StringMatching /error: view crashed/,
+ "child destroyed: the child has been removed from the parent - undefined",
+ "phx-GBTc3RNqphLwZr0B error: view crashed - {}",
+ "phx-GBTc3RNqphLwZr0B mount: - {0: content=\"BjkaPhtTJCUxJkcdUFABDWJtOTUaOyIbrnkRi7CQ_i0qe9eZ88pDQKrJ\", 1: Object, s: undefined}",
StringMatching /mount/,
- StringMatching /child mount/,
]
267 | await expect(newParentTiem).not.toHaveText(parentTime)
268 |
> 269 | expect(consoleMessages).toEqual([
| ^
270 | expect.stringMatching(/child error: view crashed/),
271 | expect.stringMatching(/child destroyed/),
272 | expect.stringMatching(/error: view crashed/),
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/errors.spec.js:269: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.5s
|
Run e2e tests:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 24.9s
|
Run e2e tests:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 23.1s
|
Run e2e tests:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 19.4s
|
Run e2e tests:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.0s
|
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
299 passed (2.5m)
|
Loading