Skip to content

Tweak LiveComponent docs #8958

Tweak LiveComponent docs

Tweak LiveComponent docs #8958

Triggered via pull request September 27, 2025 20:12
Status Failure
Total duration 5m 15s
Artifacts 7

ci.yml

on: pull_request
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
Matrix: coverage report
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 11 warnings, and 1 notice
mix test (OTP maint-28 | Elixir main-otp-28)
Process completed with exit code 1.
[webkit] › tests/js.spec.js:4:1 › toggle_attribute: test/e2e/tests/js.spec.js#L14
1) [webkit] › tests/js.spec.js:4:1 › toggle_attribute ──────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [{"attr": "style", "newValue": "display: block;", "oldValue": "display: none;"}, {"attr": "aria-expanded", "newValue": "true", "oldValue": "false"}, {"attr": "open", "newValue": "true", "oldValue": null}, ObjectContaining {"attr": "class", "newValue": "fade-in"}, ObjectContaining {"attr": "class", "oldValue": "fade-in"}] Received: [{"attr": "aria-expanded", "newValue": "true", "oldValue": "false"}, {"attr": "aria-expanded", "newValue": "true", "oldValue": "true"}, {"attr": "open", "newValue": "true", "oldValue": null}, {"attr": "class", "newValue": "fade-in", "oldValue": null}, {"attr": "style", "newValue": "display: block;", "oldValue": "display: none;"}] 12 | // wait for the transition time (set to 50) 13 | await page.waitForTimeout(100); > 14 | expect(await changes()).toEqual( | ^ 15 | expect.arrayContaining([ 16 | { 17 | attr: "style", at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/js.spec.js:14:27
mix test (OTP maint-28 | Elixir main-otp-28)
No files were found with the provided path: cover/default.coverdata. No artifacts will be uploaded.
npm test (1.18.4, 27.3): test/e2e/tests/issues/3083.spec.js#L29
Unexpected use of page.waitForTimeout()
npm test (1.18.4, 27.3): test/e2e/tests/forms.spec.js#L134
Avoid calling `expect` conditionally`
npm test (1.18.4, 27.3): test/e2e/tests/forms.spec.js#L133
Avoid having conditionals in tests
npm test (1.18.4, 27.3): test/e2e/tests/errors.spec.js#L147
Unexpected use of page.waitForTimeout()
npm test (1.18.4, 27.3): test/e2e/tests/errors.spec.js#L118
Unexpected use of page.waitForTimeout()
npm test (1.18.4, 27.3): test/e2e/tests/errors.spec.js#L67
Unexpected use of page.waitForTimeout()
npm test (1.18.4, 27.3): test/e2e/tests/components.spec.js#L77
Unexpected use of the `.skip()` annotation
npm test (1.18.4, 27.3): test/e2e/tests/components.spec.js#L76
Avoid having conditionals in tests
npm test (1.18.4, 27.3): test/e2e/tests/components.spec.js#L36
Unexpected use of the `.skip()` annotation
npm test (1.18.4, 27.3): test/e2e/tests/components.spec.js#L35
Avoid having conditionals in tests
🎭 Playwright Run Summary
1 flaky [webkit] › tests/js.spec.js:4:1 › toggle_attribute ───────────────────────────────────────────── 3 skipped 452 passed (4.0m)

Artifacts

Produced during runtime
Name Size Digest
e2e-test-results Expired
4.15 MB
sha256:71748069b47c23885352864c13848560746fd34c6392af86b3c31af834f2774d
js-unit-coverage Expired
854 KB
sha256:03232500ef4117cadeafb0d304172d7addf19b11c1eab144c511a65febea2aa2
mix-e2e-coverage Expired
107 KB
sha256:dd86a8a06fe6fa161953eacad2bb3f5a1d856ba79b5298086a1f52f628d9a6f7
mix-test-coverage-25.3-1.15.4 Expired
156 KB
sha256:d1d15bad71e93f6f8527a3613d862fc98f1569e4e85b4b18ebe6bf81ebdfcf81
mix-test-coverage-26.2-1.16.3 Expired
154 KB
sha256:4147ce8c306bc133188ddf146b5b0e0456814122dd43757f503674371a630f6b
mix-test-coverage-27.3-1.18.4 Expired
103 KB
sha256:ef1fab6623f8ca1fb7e0ea1e1ba3113f8637e80f8badb3fc773f960054876e7d
playwright-report Expired
1.03 MB
sha256:13866e556f0ae3b5469be990904749a8c96d80161bf5e6d9c20d2dfdb885f83b