Skip to content

fail early when hook element is not owned by view (#3618) #7349

fail early when hook element is not owned by view (#3618)

fail early when hook element is not owned by view (#3618) #7349

Triggered via push January 26, 2025 15:26
Status Success
Total duration 4m 33s
Artifacts 10

ci.yml

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

Annotations

1 error, 23 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#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
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 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 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 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 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 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
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 29.8s
Slow Test: test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 26.3s
Slow Test: test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 22.4s
Slow Test: test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 20.3s
Slow Test: test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.5s
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 323 passed (2.5m)

Artifacts

Produced during runtime
Name Size
e2e-test-results Expired
3.17 MB
js-unit-coverage Expired
758 KB
mix-e2e-coverage Expired
90.9 KB
mix-test-coverage-24.3-1.14.5 Expired
144 KB
mix-test-coverage-25.3-1.15.4 Expired
144 KB
mix-test-coverage-26.2-1.16.3 Expired
142 KB
mix-test-coverage-27.2-1.18.1 Expired
94.5 KB
mix-test-coverage-maint-27-main Expired
88.4 KB
overall-coverage Expired
1.41 MB
playwright-report Expired
941 KB