fix timer ref in select playground #350
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
35s
Annotations
2 errors, 3 warnings, and 1 notice
[chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone:
test/e2e/tests/forms.spec.js#L283
1) [chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('#test-form button')
Expected string: "phx-submit-loading"
Received string: ""
Call log:
- expect.toHaveClass with timeout 5000ms
- waiting for locator('#test-form button')
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value ""
281 | await expect(testForm).toHaveClass("phx-submit-loading");
282 | await expect(testInput).toHaveAttribute("readonly", "");
> 283 | await expect(submitBtn).toHaveClass("phx-submit-loading");
| ^
284 | await expect(testForm).toHaveAttribute("data-phx-ref-loading");
285 | await expect(testForm).toHaveAttribute("data-phx-ref-src");
286 | await expect(testInput).toHaveAttribute("data-phx-ref-loading");
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:283:27
|
[webkit] › tests/streams.spec.js:115:1 › move-to-first moves the second element to the first position (LV):
test/e2e/tests/streams.spec.js#L126
2) [webkit] › tests/streams.spec.js:115:1 › move-to-first moves the second element to the first position (LV)
Error: expect(received).toEqual(expected) // deep equality
- Expected - 4
+ Received + 4
Array [
Object {
- "id": "c_users-2",
- "text": "updated",
- },
- Object {
"id": "c_users-1",
"text": "chris",
+ },
+ Object {
+ "id": "c_users-2",
+ "text": "updated",
},
]
124 |
125 | await page.locator("#c_users-2").getByRole("button", { name: "make first" }).click();
> 126 | await expect(await usersInDom(page, "c_users")).toEqual([
| ^
127 | { id: "c_users-2", text: "updated" },
128 | { id: "c_users-1", text: "chris" }
129 | ]);
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:126:51
|
Slow Test:
test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 45.2s
|
Slow Test:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 35.9s
|
Slow Test:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 21.2s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ───────────
[webkit] › tests/streams.spec.js:115:1 › move-to-first moves the second element to the first position (LV)
259 passed (2.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-results
Expired
|
3.29 MB |
|
js-unit-coverage
Expired
|
705 KB |
|
mix-e2e-coverage
Expired
|
79.7 KB |
|
mix-test-coverage-24.3-1.13.4
Expired
|
130 KB |
|
mix-test-coverage-25.3-1.15.4
Expired
|
133 KB |
|
mix-test-coverage-26.2-1.16.3
Expired
|
132 KB |
|
mix-test-coverage-27-1.17.2
Expired
|
84.9 KB |
|
overall-coverage
Expired
|
2.01 MB |
|
playwright-report
Expired
|
1.64 MB |
|