run phoenix integration tests #8930
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 (4.0m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
e2e-test-results
Expired
|
4.58 MB |
sha256:5252640a568c5eaeab759b5605a7e854ec612a7dfd747ce1663ecfb946fc3efe
|
|
js-unit-coverage
Expired
|
854 KB |
sha256:c3cb76b5ec01dffed2e45250e54a9953f22390f97c6b235925e58575f7e8e1bb
|
|
mix-e2e-coverage
Expired
|
107 KB |
sha256:ed1f3622a3d4299b39832540d02bab77001ffa5e4496837a6705a8f64c14b523
|
|
mix-test-coverage-25.3-1.15.4
Expired
|
156 KB |
sha256:37d13159833331d11b4c5fd0b51b2107437b1140851492385f221bd86e4ae2a1
|
|
mix-test-coverage-26.2-1.16.3
Expired
|
154 KB |
sha256:5121d64a61ddcf550a8e244d2b6a347f3e699205dbe84b82402049fbb2b6b55d
|
|
mix-test-coverage-27.3-1.18.4
Expired
|
103 KB |
sha256:6c8463db4ecacd3098e58addacacd63df572c8ba29106d832450382d1d86531c
|
|
mix-test-coverage-maint-28-main-otp-28
Expired
|
103 KB |
sha256:0c115dd6f757bd36ed5a42b2f99a9c460fcd45617d486b44daa334df1c21e7cf
|
|
overall-coverage
Expired
|
1.56 MB |
sha256:bcaf056e915285b622dbfa02c6db024eb5ece35a4be7ae00050de0e8240c07c5
|
|
playwright-report
Expired
|
1.24 MB |
sha256:73ff595cfbd610bb0f04b3301a6f211a645725431d41295d869b8a4977c97a2c
|
|