actually warn, don't raise on duplicate ids in LiveViewTest (#3603) #7217
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
43s
Annotations
1 error, 13 warnings, and 1 notice
[webkit] › tests/errors.spec.js:240:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes:
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
|
npm test (1.17.2, 27)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mix test (OTP 25.3 | Elixir 1.15.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mix test (OTP maint-27 | Elixir main)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mix test (OTP 24.3 | Elixir 1.14.5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mix test (OTP 26.2 | Elixir 1.16.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
mix test (OTP 27 | Elixir 1.17.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
e2e test (1.17.2, 27)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Slow Test:
test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 29.5s
|
Slow Test:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 24.9s
|
Slow Test:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 23.1s
|
Slow Test:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 19.4s
|
Slow Test:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.0s
|
coverage report
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
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)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-results
|
3.02 MB |
|
js-unit-coverage
|
754 KB |
|
mix-e2e-coverage
|
86.4 KB |
|
mix-test-coverage-24.3-1.14.5
|
140 KB |
|
mix-test-coverage-25.3-1.15.4
|
140 KB |
|
mix-test-coverage-26.2-1.16.3
|
138 KB |
|
mix-test-coverage-27-1.17.2
|
91.8 KB |
|
mix-test-coverage-maint-27-main
|
88.5 KB |
|
overall-coverage
|
1.4 MB |
|
playwright-report
|
923 KB |
|