Allow sharing assigns between live navigation #6904
Annotations
10 errors, 5 warnings, and 1 notice
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
1) [chromium] › tests/navigation.spec.js:20: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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
1) [chromium] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
1) [chromium] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
2) [firefox] › tests/navigation.spec.js:20: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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
2) [firefox] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
2) [firefox] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
3) [webkit] › tests/navigation.spec.js:20: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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
3) [webkit] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
3) [webkit] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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]]
56 | await expect(networkEvents).toEqual([]);
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | await expect(webSocketEvents).toEqual(expect.arrayContaining([
| ^
59 | { type: "sent", payload: expect.stringContaining("phx_leave") },
60 | { type: "sent", payload: expect.stringContaining("phx_join") },
61 | { type: "received", payload: expect.stringContaining("phx_close") },
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/navigation.spec.js:58:33
|
Run e2e tests
Process completed with exit code 1.
|
Run e2e tests:
test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 31.2s
|
Run e2e tests:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 26.2s
|
Run e2e tests:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 24.4s
|
Run e2e tests:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 20.6s
|
Run e2e tests:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.1s
|
Run e2e tests
3 failed
[chromium] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
[firefox] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
[webkit] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
288 passed (2.7m)
|
Loading