wait for asyncs using separate process #8904
ci.yml
on: pull_request
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
Matrix: coverage report
Annotations
2 errors, 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
2) [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
|
[chromium] › tests/uploads.spec.js:202:1 › issue 3115 - cancelled upload is not re-added:
test/e2e/tests/uploads.spec.js#L230
1) [chromium] › tests/uploads.spec.js:202:1 › issue 3115 - cancelled upload is not re-added ──────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('ul li')
Expected: 1
Received: 2
Call log:
- Expect "toHaveCount" with timeout 5000ms
- waiting for locator('ul li')
9 × locator resolved to 2 elements
- unexpected value "2"
228 |
229 | // we should see one uploaded file in the list
> 230 | await expect(page.locator("ul li")).toHaveCount(1);
| ^
231 | });
232 |
233 | test("submitting invalid form multiple times doesn't crash", async ({
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/uploads.spec.js:230:39
|
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
2 flaky
[chromium] › tests/uploads.spec.js:202:1 › issue 3115 - cancelled upload is not re-added ───────
[webkit] › tests/navigation.spec.js:26:1 › can navigate between LiveViews in the same live session over websocket
3 skipped
451 passed (3.9m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
e2e-test-results
Expired
|
4.58 MB |
sha256:757a8de0394fb29c6d1975c7eceb1b84bd4b9c342730fd7d3f0ac0909edee722
|
|
js-unit-coverage
Expired
|
854 KB |
sha256:eee718bf686b0bee7e32362593b072ceed00c5ad2e600b5388a6e0483e57c6ca
|
|
mix-e2e-coverage
Expired
|
107 KB |
sha256:bbba7a418b26bb3478f2e79071cd073d44938f628f58ad3d5fd5e0c0aac866b2
|
|
mix-test-coverage-25.3-1.15.4
Expired
|
156 KB |
sha256:6806b90c81aed25b55e02aee9bd3ba5ab99b8eb8c022ba645356c7069fcbeed6
|
|
mix-test-coverage-26.2-1.16.3
Expired
|
154 KB |
sha256:75030b99fd72143c7cf417534ab5609a9e96e0d318a9f37427fb85ca992fcaaa
|
|
mix-test-coverage-27.3-1.18.4
Expired
|
103 KB |
sha256:ba2f70d525ad20ba63ada785029ca33b10859c781dc25b1493df86f753b6f820
|
|
mix-test-coverage-maint-28-main-otp-28
Expired
|
103 KB |
sha256:6f8a5a21a2535e0af0759556c3f4e756a4950ad6cdb46ebe8c079dc6665213f5
|
|
overall-coverage
Expired
|
1.56 MB |
sha256:ead910b3c634f07b1b1b27e908e016d7ecb7baa8dc4ea04e3cf53a340f0d7055
|
|
playwright-report
Expired
|
1.24 MB |
sha256:4fbd10a091090fd8bd1cd37ca5a27142b0f4284bed04f1ee51f38dd4649ae98d
|
|