Skip to content

warn when phx-update="stream" is missing #7319

warn when phx-update="stream" is missing

warn when phx-update="stream" is missing #7319

Triggered via pull request January 20, 2025 13:12
Status Failure
Total duration 7m 8s
Artifacts 9

ci.yml

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

Annotations

10 errors, 20 warnings, and 1 notice
[chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount: test/e2e/utils.js#L9
1) [chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount, but not dead render Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:389:11
[chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount: test/e2e/utils.js#L9
1) [chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount, but not dead render Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:389:11
[chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount: test/e2e/utils.js#L9
1) [chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount, but not dead render Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:389:11
[chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative: test/e2e/utils.js#L9
2) [chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:402:11
[chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative: test/e2e/utils.js#L9
2) [chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:402:11
[chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative: test/e2e/utils.js#L9
2) [chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:402:11
[chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive: test/e2e/utils.js#L9
3) [chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:432:11
[chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive: test/e2e/utils.js#L9
3) [chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:432:11
[chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive: test/e2e/utils.js#L9
3) [chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:432:11
[chromium] › tests/streams.spec.js:470:3 › stream limit - issue #2686 › does nothing if appending and positive limit is reached: test/e2e/utils.js#L9
4) [chromium] › tests/streams.spec.js:470:3 › stream limit - issue #2686 › does nothing if appending and positive limit is reached Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.phx-connected').first() Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.phx-connected').first() at utils.js:9 7 | const syncLV = async (page) => { 8 | const promises = [ > 9 | expect(page.locator(".phx-connected").first()).toBeVisible(), | ^ 10 | expect(page.locator(".phx-change-loading")).toHaveCount(0), 11 | expect(page.locator(".phx-click-loading")).toHaveCount(0), 12 | expect(page.locator(".phx-submit-loading")).toHaveCount(0), at syncLV (/__w/phoenix_live_view/phoenix_live_view/test/e2e/utils.js:9:52) at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/streams.spec.js:472:11
npm test (1.18.1, 27.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
npm test (1.18.1, 27.2): test/e2e/tests/errors.spec.js#L61
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/errors.spec.js#L106
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/errors.spec.js#L131
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/issues/3083.spec.js#L29
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/issues/3194.spec.js#L18
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L13
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L31
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L54
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/js.spec.js#L70
Unexpected use of page.waitForTimeout()
npm test (1.18.1, 27.2): test/e2e/tests/navigation.spec.js#L148
Unexpected use of page.waitForTimeout()
mix test (OTP 25.3 | Elixir 1.15.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mix test (OTP maint-27 | Elixir main)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mix test (OTP 26.2 | Elixir 1.16.3)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mix test (OTP 24.3 | Elixir 1.14.5)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
mix test (OTP 27.2 | Elixir 1.18.1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
e2e test (1.18.1, 27.2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: test/e2e/[webkit] › tests/forms.spec.js#L1
test/e2e/[webkit] › tests/forms.spec.js took 25.9s
Slow Test: test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 22.4s
Slow Test: test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.4s
🎭 Playwright Run Summary
18 failed [chromium] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount, but not dead render [chromium] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative [chromium] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive [chromium] › tests/streams.spec.js:470:3 › stream limit - issue #2686 › does nothing if appending and positive limit is reached [chromium] › tests/streams.spec.js:517:3 › stream limit - issue #2686 › does nothing if prepending and negative limit is reached [chromium] › tests/streams.spec.js:564:3 › stream limit - issue #2686 › arbitrary index ──────── [firefox] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount, but not dead render [firefox] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative [firefox] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive [firefox] › tests/streams.spec.js:470:3 › stream limit - issue #2686 › does nothing if appending and positive limit is reached [firefox] › tests/streams.spec.js:517:3 › stream limit - issue #2686 › does nothing if prepending and negative limit is reached [firefox] › tests/streams.spec.js:564:3 › stream limit - issue #2686 › arbitrary index ───────── [webkit] › tests/streams.spec.js:382:3 › stream limit - issue #2686 › limit is enforced on mount, but not dead render [webkit] › tests/streams.spec.js:400:3 › stream limit - issue #2686 › removes item at front when appending and limit is negative [webkit] › tests/streams.spec.js:430:3 › stream limit - issue #2686 › removes item at back when prepending and limit is positive [webkit] › tests/streams.spec.js:470:3 › stream limit - issue #2686 › does nothing if appending and positive limit is reached [webkit] › tests/streams.spec.js:517:3 › stream limit - issue #2686 › does nothing if prepending and negative limit is reached [webkit] › tests/streams.spec.js:564:3 › stream limit - issue #2686 › arbitrary index ────────── 294 passed (5.9m)

Artifacts

Produced during runtime
Name Size
e2e-test-results Expired
14.8 MB
js-unit-coverage Expired
758 KB
mix-e2e-coverage Expired
86.3 KB
mix-test-coverage-24.3-1.14.5 Expired
140 KB
mix-test-coverage-25.3-1.15.4 Expired
140 KB
mix-test-coverage-26.2-1.16.3 Expired
138 KB
mix-test-coverage-27.2-1.18.1 Expired
91.7 KB
mix-test-coverage-maint-27-main Expired
85.8 KB
playwright-report Expired
5.33 MB