adds a generic param for element type hooks interfaces (#3961) #8810
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
Matrix: coverage report
Annotations
3 errors, 10 warnings, and 1 notice
|
[webkit] › tests/errors.spec.js:265:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes:
test/e2e/tests/errors.spec.js#L273
3) [webkit] › tests/errors.spec.js:265: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-GF_lgRNal0quLpWC mount: - {0: content=\"CxZGMA4VCDUdDBscZ1gfKSYMNhshWwlyQA2RELGwGYNJToVNHVTZv8hA\", 1: undefined, p: undefined, s: 2}", "child error: unable to join - {reason: join crashed}", "child destroyed: the child has been removed from the parent - undefined", "phx-GF_lgRNal0quLpWC error: view crashed - {}", "phx-GF_lgRNal0quLpWC mount: - {0: content=\"PgNHUH46PBsoOB8vSXsHIDkXFSglLisDdT325csYrmJyzLNGWMwirMJ0\", 1: undefined, p: undefined, s: 2}"]
271 | // child crashed on mount, linked to parent -> parent crashed too
272 | // second mounts are successful
> 273 | expect(consoleMessages).toEqual(
| ^
274 | expect.arrayContaining([
275 | expect.stringMatching(/mount/),
276 | expect.stringMatching(/child error: unable to join/),
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/errors.spec.js:273:31
|
|
[chromium] › tests/issues/3530.spec.js:5:1 › hook is initialized properly when using a stream of nested LiveViews:
test/e2e/tests/issues/3530.spec.js#L38
2) [chromium] › tests/issues/3530.spec.js:5:1 › hook is initialized properly when using a stream of nested LiveViews
Error: expect(received).toHaveLength(expected)
Expected length: 1
Received length: 0
Received array: []
36 | expect(logs.filter((e) => e.includes("item-2 destroyed"))).toHaveLength(0);
37 | expect(logs.filter((e) => e.includes("item-3 destroyed"))).toHaveLength(0);
> 38 | expect(logs.filter((e) => e.includes("item-2 mounted"))).toHaveLength(1);
| ^
39 | logs = [];
40 |
41 | await page.locator("div[phx-click=inc]").click();
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/issues/3530.spec.js:38:60
|
|
[chromium] › tests/errors.spec.js:265:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes:
test/e2e/tests/errors.spec.js#L298
1) [chromium] › tests/errors.spec.js:265: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-GF_lZeoUIphlhlKD error: view crashed - {}",
+ "phx-GF_lZeoUIphlhlKD mount: - {0: content=\"HApeAhs1Xz9vBz1BNSYaKDEwdwNcPwAAmL1l_Mjj-ph2xSlACfE1isZs\", 1: Object, p: Object, s: 2}",
StringMatching /mount/,
- StringMatching /child mount/,
]
296 | await expect(newParentTiem).not.toHaveText(parentTime);
297 |
> 298 | expect(consoleMessages).toEqual([
| ^
299 | expect.stringMatching(/child error: view crashed/),
300 | expect.stringMatching(/child destroyed/),
301 | expect.stringMatching(/error: view crashed/),
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/errors.spec.js:298:31
|
|
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
3 flaky
[chromium] › tests/errors.spec.js:265:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes
[chromium] › tests/issues/3530.spec.js:5:1 › hook is initialized properly when using a stream of nested LiveViews
[webkit] › tests/errors.spec.js:265:5 › exception handling › after connected mount › parent crashes and reconnects when linked child LV crashes
3 skipped
441 passed (3.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
e2e-test-results
Expired
|
4.48 MB |
sha256:763b84eb74a52d9e1878e7bc649728bc53c7a5ebe700ee51fa7af3db9ed30977
|
|
|
js-unit-coverage
Expired
|
853 KB |
sha256:ccf4dbd62d71c366f0a9f5e935c42e8e8c4c9e46944d930ea500991f9b64622b
|
|
|
mix-e2e-coverage
Expired
|
106 KB |
sha256:300b8d5582923cbe7c9f84a0a51f2887ef12453cdf26b2c6180b799dbbb23924
|
|
|
mix-test-coverage-25.3-1.15.4
Expired
|
156 KB |
sha256:1eb993ffbe85a271a77831c276a8f8140910f8e38da95b37899c1eca88cd906e
|
|
|
mix-test-coverage-26.2-1.16.3
Expired
|
153 KB |
sha256:e4a77ccb5909d02c2f8a6dc3345381c5ced21e2b76c72cb5904fd14e49e72709
|
|
|
mix-test-coverage-27.3-1.18.4
Expired
|
103 KB |
sha256:d66d949d34fb676cbb56a2fd117fe42f9dafbe52cac3609e04dd6378004f8325
|
|
|
mix-test-coverage-maint-28-main-otp-28
Expired
|
103 KB |
sha256:27f9a03d6b21b7ebc2f6ad7373c2e370e6def080849746d08703eebed43cb614
|
|
|
overall-coverage
Expired
|
1.55 MB |
sha256:041233e9d225237902159a3fb089d94b4f296ada3cf699f520f0822d254c120c
|
|
|
playwright-report
Expired
|
1.21 MB |
sha256:766b5de75c56ac3a4426b604cccb24b23249c8eec5e3a0b7fcabde37d6e4cb81
|
|