fix pending diff race condition when join is still pending #8787
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
Matrix: coverage report
Annotations
1 error, 10 warnings, and 1 notice
|
[webkit] › tests/navigation.spec.js:26:1 › can navigate between LiveViews in the same live session over websocket:
test/e2e/tests/navigation.spec.js#L78
1) [webkit] › tests/navigation.spec.js:26:1 › can navigate between LiveViews in the same live session over websocket
Error: expect(received).toEqual(expected) // deep equality
Expected: ArrayContaining [{"payload": StringContaining "phx_leave", "type": "sent"}, {"payload": StringContaining "phx_join", "type": "sent"}, {"payload": StringContaining "phx_close", "type": "received"}, {"payload": StringContaining "phx_reply", "type": "received"}, {"payload": StringContaining "phx_reply", "type": "received"}]
Received: [[Object], [Object], [Object]]
76 | expect(networkEvents).toEqual([]);
77 | // we don't assert the order of the events here, because they are not deterministic
> 78 | expect(webSocketEvents).toEqual(
| ^
79 | expect.arrayContaining([
80 | { type: "sent", payload: expect.stringContaining("phx_leave") },
81 | { type: "sent", payload: expect.stringContaining("phx_join") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:78:27
|
|
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/navigation.spec.js:26:1 › can navigate between LiveViews in the same live session over websocket
3 skipped
443 passed (3.8m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
e2e-test-results
Expired
|
4.32 MB |
sha256:cad9d11c26bd98d00957e1d975dde01027fe5312be599f3c4a495c830ac90c20
|
|
|
js-unit-coverage
Expired
|
852 KB |
sha256:1179fe9288b88a59ea1174555baa7df5984aafb37cb3b7f76fc856cce66816cc
|
|
|
mix-e2e-coverage
Expired
|
105 KB |
sha256:d024a5506fb8886d08ebe9016e9c0bb85f7badd5f474bfae9b49c3e3b54e801c
|
|
|
mix-test-coverage-25.3-1.15.4
Expired
|
156 KB |
sha256:9083b876dee7de80baa909bbf2ef62562e02863fec2381de9675cfa494b16c49
|
|
|
mix-test-coverage-26.2-1.16.3
Expired
|
153 KB |
sha256:b503c5f868feb9cec78dfc3c746f3558027e5df5ac6133d8de883e463c83a646
|
|
|
mix-test-coverage-27.3-1.18.4
Expired
|
102 KB |
sha256:07670809ba730146cae3a04788ef3b567c05fa290e8a797096e4845caf0342f7
|
|
|
mix-test-coverage-maint-28-main-otp-28
Expired
|
103 KB |
sha256:9255484f87960299a9ddc73dac37797b3835488aaa4e7ae2392721acb8b459cd
|
|
|
overall-coverage
Expired
|
1.55 MB |
sha256:f6c3400ad220b6825e28ff6c7635d2508a15d879492b42293f024d5785e53476
|
|
|
playwright-report
Expired
|
1.14 MB |
sha256:20206140365a4be1644e0edcf56b465950db27efb44290e4d80af88cb4de564e
|
|