feedback: clearify that status will always be in opts #7
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
36s
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#L289
1) [chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute()
Locator: locator('#test-form button')
Expected: have attribute
Received: not have attribute
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('#test-form button')
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
287 | await expect(testInput).toHaveAttribute("data-phx-ref-src");
288 | await expect(submitBtn).toHaveAttribute("data-phx-ref-loading");
> 289 | await expect(submitBtn).toHaveAttribute("data-phx-ref-src");
| ^
290 | // submit adds 1 more stream item and new hook is mounted
291 | await expect(page.locator("#form-stream li")).toHaveText([
292 | "*%{id: 1}pong",
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:289:27
|
[firefox] › tests/forms.spec.js:243:1 › loading and locked states with latent clone:
test/e2e/tests/forms.spec.js#L289
2) [firefox] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ───────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute()
Locator: locator('#test-form button')
Expected: have attribute
Received: not have attribute
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('#test-form button')
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
- locator resolved to <button id="submit" phx-disable-with="Saving...">Submit</button>
- unexpected value "false"
287 | await expect(testInput).toHaveAttribute("data-phx-ref-src");
288 | await expect(submitBtn).toHaveAttribute("data-phx-ref-loading");
> 289 | await expect(submitBtn).toHaveAttribute("data-phx-ref-src");
| ^
290 | // submit adds 1 more stream item and new hook is mounted
291 | await expect(page.locator("#form-stream li")).toHaveText([
292 | "*%{id: 1}pong",
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:289:27
|
Slow Test:
test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 44.9s
|
Slow Test:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 25.8s
|
Slow Test:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 15.9s
|
🎭 Playwright Run Summary
2 flaky
[chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ───────────
[firefox] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ────────────
247 passed (2.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-results
Expired
|
3.53 MB |
|
js-unit-coverage
Expired
|
706 KB |
|
mix-e2e-coverage
Expired
|
78 KB |
|
mix-test-coverage-24.3-1.13.4
Expired
|
144 KB |
|
mix-test-coverage-25.3-1.15.4
Expired
|
148 KB |
|
mix-test-coverage-26.2-1.16.3
Expired
|
146 KB |
|
mix-test-coverage-27-1.17.2
Expired
|
95.2 KB |
|
overall-coverage
Expired
|
2.13 MB |
|
playwright-report
Expired
|
1.94 MB |
|