wait for asyncs using separate process #8900
ci.yml
on: pull_request
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
Matrix: coverage report
Annotations
41 errors, 10 warnings, and 1 notice
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L60
test push_event sends updates with no assigns diff (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L104
test replies sends reply from handle_event with general assigns diff (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/layout_test.exs#L39
test is picked from config on mount when given a layout (Phoenix.LiveView.LayoutTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/layout_test.exs#L75
test uses root page title on first render (Phoenix.LiveView.LayoutTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L91
test push_event sends updates in components (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L144
test replies sends replies in components (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L76
test push_event sends no events if none are pushed (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L119
test replies sends reply from handle_event with no assigns diff (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/event_test.exs#L17
test push_event sends updates with general assigns diff (Phoenix.LiveView.EventTest)
|
mix test (OTP 25.3 | Elixir 1.15.4):
test/phoenix_live_view/integrations/layout_test.exs#L15
test uses dead layout from router (Phoenix.LiveView.LayoutTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/router_test.exs#L28
test routing at root (Phoenix.LiveView.RouterTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/router_test.exs#L278
test live_session with layout override (Phoenix.LiveView.RouterTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/router_test.exs#L211
test live_session with on_mount [{Module, arg}, ...] (Phoenix.LiveView.RouterTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/router_test.exs#L182
test live_session with on_mount [Module, ...] (Phoenix.LiveView.RouterTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/integrations/collocated_test.exs#L10
test supports collocated views (Phoenix.LiveView.CollocatedTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/integrations/layout_test.exs#L75
test uses root page title on first render (Phoenix.LiveView.LayoutTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/integrations/layout_test.exs#L23
test is picked from config on use (Phoenix.LiveView.LayoutTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/integrations/layout_test.exs#L50
test is picked from config on mount when given false (Phoenix.LiveView.LayoutTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/integrations/layout_test.exs#L56
test is not picked from config on use for child live views (Phoenix.LiveView.LayoutTest)
|
mix test (OTP maint-28 | Elixir main-otp-28):
test/phoenix_live_view/integrations/layout_test.exs#L65
test is picked from config on mount even on child live views (Phoenix.LiveView.LayoutTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/start_async_test.exs#L85
test LiveView start_async complex key task (Phoenix.LiveView.StartAsyncTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/navigation_test.exs#L91
test redirect when connected (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/start_async_test.exs#L103
test LiveView start_async redirect (Phoenix.LiveView.StartAsyncTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/layout_test.exs#L50
test is picked from config on mount when given false (Phoenix.LiveView.LayoutTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/navigation_test.exs#L243
test live_patch patches on custom host with partial path (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/start_async_test.exs#L109
test LiveView start_async put_flash (Phoenix.LiveView.StartAsyncTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/layout_test.exs#L65
test is picked from config on mount even on child live views (Phoenix.LiveView.LayoutTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/start_async_test.exs#L29
test LiveView start_async exit during execution (Phoenix.LiveView.StartAsyncTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/start_async_test.exs#L123
test LiveComponent start_async raise during execution (Phoenix.LiveView.StartAsyncTest)
|
mix test (OTP 26.2 | Elixir 1.16.3):
test/phoenix_live_view/integrations/layout_test.exs#L15
test uses dead layout from router (Phoenix.LiveView.LayoutTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/navigation_test.exs#L136
test external redirect child when connected (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/navigation_test.exs#L120
test external redirect when connected (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/navigation_test.exs#L229
test live_patch patches on custom host with full path (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/live_reload_test.exs#L56
test custom reloader (Phoenix.LiveView.LiveReloadTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/router_test.exs#L211
test live_session with on_mount [{Module, arg}, ...] (Phoenix.LiveView.RouterTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/navigation_test.exs#L196
test live_redirect refused with no live session (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/router_test.exs#L182
test live_session with on_mount [Module, ...] (Phoenix.LiveView.RouterTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/navigation_test.exs#L151
test live_redirect within same live session (Phoenix.LiveView.NavigationTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/router_test.exs#L28
test routing at root (Phoenix.LiveView.RouterTest)
|
mix test (OTP 27.3 | Elixir 1.18.4):
test/phoenix_live_view/integrations/navigation_test.exs#L27
test push_navigate when connected (Phoenix.LiveView.NavigationTest)
|
[webkit] › tests/js.spec.js:4:1 › toggle_attribute:
test/e2e/tests/js.spec.js#L14
1) [webkit] › tests/js.spec.js:4:1 › toggle_attribute ────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
Expected: ArrayContaining [{"attr": "style", "newValue": "display: block;", "oldValue": "display: none;"}, {"attr": "aria-expanded", "newValue": "true", "oldValue": "false"}, {"attr": "open", "newValue": "true", "oldValue": null}, ObjectContaining {"attr": "class", "newValue": "fade-in"}, ObjectContaining {"attr": "class", "oldValue": "fade-in"}]
Received: [{"attr": "aria-expanded", "newValue": "true", "oldValue": "false"}, {"attr": "aria-expanded", "newValue": "true", "oldValue": "true"}, {"attr": "open", "newValue": "true", "oldValue": null}, {"attr": "class", "newValue": "fade-in", "oldValue": null}, {"attr": "style", "newValue": "display: block;", "oldValue": "display: none;"}]
12 | // wait for the transition time (set to 50)
13 | await page.waitForTimeout(100);
> 14 | expect(await changes()).toEqual(
| ^
15 | expect.arrayContaining([
16 | {
17 | attr: "style",
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/js.spec.js:14:27
|
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
1 flaky
[webkit] › tests/js.spec.js:4:1 › toggle_attribute ─────────────────────────────────────────────
3 skipped
452 passed (3.9m)
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
e2e-test-results
Expired
|
4.15 MB |
sha256:42a97305af33c75ead6b3610b2faa0cb8c995cf150fd89febe8c8259458cfb43
|
|
js-unit-coverage
Expired
|
854 KB |
sha256:5f5fbd5f29582f2f5487b7ebb8c229976bd693487ba9c83e63e2ab2ebe1b1a32
|
|
mix-e2e-coverage
Expired
|
107 KB |
sha256:1d3b4bf4c8df8953a92bf4dd8f3e02e7d48a1fc3127bedea9490f044a0bba1bf
|
|
mix-test-coverage-25.3-1.15.4
Expired
|
154 KB |
sha256:7c3caa35a0e8bca4975b67c83c5befe65b1390bfe506ff2c4649578ee535653e
|
|
mix-test-coverage-26.2-1.16.3
Expired
|
152 KB |
sha256:a20bf4c6c89e9bfd2a2b63e3048a4e57b43f9ee3713c374984bad0b02990016e
|
|
mix-test-coverage-27.3-1.18.4
Expired
|
101 KB |
sha256:e8f0e9cb7cf047a9a9feb87d000053f66d8358341d7c15e1dc5bb8e9c1b85a76
|
|
mix-test-coverage-maint-28-main-otp-28
Expired
|
101 KB |
sha256:26b0605444a78da2b6cf3c42db53b71bf07faf594695a7438b65d2c85aad622c
|
|
playwright-report
Expired
|
1.03 MB |
sha256:9a771d13c9fe5950b8e6769e91bbf1255043f9a541eda096cdd8b2dc0033010e
|
|