update tests to not use deprecated struct update syntax #7353
Annotations
1 error, 6 warnings, and 1 notice
Run e2e tests:
test/e2e/tests/navigation.spec.js#L58
1) [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], [Object]]
56 | expect(networkEvents).toEqual([])
57 | // we don't assert the order of the events here, because they are not deterministic
> 58 | 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:27
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run e2e tests:
test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 30.0s
|
Run e2e tests:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 26.0s
|
Run e2e tests:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 22.9s
|
Run e2e tests:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 19.2s
|
Run e2e tests:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.2s
|
Run e2e tests
1 flaky
[webkit] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
323 passed (2.5m)
|
Loading