Skip to content

Keep values of composite types in __changed__ #6674

Keep values of composite types in __changed__

Keep values of composite types in __changed__ #6674

Triggered via push August 20, 2024 21:04
Status Success
Total duration 4m 21s
Artifacts 9

ci.yml

on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
39s
coverage report
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 4 warnings, and 1 notice
[chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone: test/e2e/tests/forms.spec.js#L288
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" 286 | await expect(testInput).toHaveAttribute("data-phx-ref-loading"); 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([ at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:288:27
[chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone: test/e2e/tests/forms.spec.js#L284
1) [chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute() Locator: locator('#test-form') Expected: have attribute Received: not have attribute Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('#test-form') - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" - locator resolved to <form id="test-form" phx-submit="save" phx-change="validate">…</form> - unexpected value "false" 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"); 287 | await expect(testInput).toHaveAttribute("data-phx-ref-src"); at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:284:26
🎭 Playwright Run Summary
1 flaky [chromium] › tests/forms.spec.js:243:1 › loading and locked states with latent clone ─────────── 248 passed (2.5m)
Slow Test: test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 44.8s
Slow Test: test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 34.3s
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 19.8s

Artifacts

Produced during runtime
Name Size
e2e-test-results Expired
3.68 MB
js-unit-coverage Expired
706 KB
mix-e2e-coverage Expired
78.4 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.6 KB
overall-coverage Expired
2.13 MB
playwright-report Expired
2.05 MB