Skip to content

small refactor of on_error tests #7358

small refactor of on_error tests

small refactor of on_error tests #7358

Triggered via push January 27, 2025 11:42
Status Failure
Total duration 3m 38s
Artifacts 7

ci.yml

on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
0s
coverage report
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 20 warnings, and 1 notice
mix test (OTP 27.2 | Elixir 1.18.1)
Process completed with exit code 1.
mix test (OTP maint-27 | Elixir main)
The job was canceled because "_1_18_1_27_2_lint" failed.
mix test (OTP maint-27 | Elixir main)
The operation was canceled.
mix test (OTP 24.3 | Elixir 1.14.5)
The job was canceled because "_1_18_1_27_2_lint" failed.
mix test (OTP 26.2 | Elixir 1.16.3)
The job was canceled because "_1_18_1_27_2_lint" failed.
mix test (OTP 26.2 | Elixir 1.16.3)
The operation was canceled.
mix test (OTP 25.3 | Elixir 1.15.4)
The job was canceled because "_1_18_1_27_2_lint" failed.
mix test (OTP 25.3 | Elixir 1.15.4)
The operation was canceled.
[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#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
npm test (1.18.1, 27.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
npm test (1.18.1, 27.2): test/e2e/tests/errors.spec.js#L61
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/errors.spec.js#L106
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/errors.spec.js#L131
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/issues/3083.spec.js#L29
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/issues/3194.spec.js#L18
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/issues/3651.spec.js#L12
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L13
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L31
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L54
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L70
Unexpected use of page.waitForTimeout()
mix test (OTP 27.2 | Elixir 1.18.1)
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.2 | Elixir 1.18.1)
No files were found with the provided path: cover/default.coverdata. No artifacts will be uploaded.
mix test (OTP 25.3 | Elixir 1.15.4)
No files were found with the provided path: cover/default.coverdata. No artifacts will be uploaded.
e2e test (1.18.1, 27.2)
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 30.4s
Slow Test: test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 26.5s
Slow Test: test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 22.1s
Slow Test: test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 20.4s
Slow Test: test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.4s
🎭 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 323 passed (2.5m)

Artifacts

Produced during runtime
Name Size
e2e-test-results
3.15 MB
js-unit-coverage
758 KB
mix-e2e-coverage
90.8 KB
mix-test-coverage-24.3-1.14.5
144 KB
mix-test-coverage-26.2-1.16.3
142 KB
mix-test-coverage-maint-27-main
87.9 KB
playwright-report
931 KB