phx-trigger-action: check for cloned tree #7202
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
0s
Annotations
11 errors, 9 warnings, and 1 notice
npm test (1.17.2, 27)
Process completed with exit code 1.
|
[chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency:
test/e2e/tests/forms.spec.js#L244
1) [chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Form was submitted!')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Form was submitted!')
242 | await expect(submitBtn).toHaveAttribute("phx-disable-with", "Submitting")
243 | await ack("save")
> 244 | await expect(page.getByText("Form was submitted!")).toBeVisible()
| ^
245 | // all refs are cleaned up
246 | await expect(testForm).toHaveClass("myformclass")
247 | await expect(submitBtn).toHaveClass("")
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:244:57
|
[chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency:
test/e2e/tests/forms.spec.js#L244
1) [chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Form was submitted!')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Form was submitted!')
242 | await expect(submitBtn).toHaveAttribute("phx-disable-with", "Submitting")
243 | await ack("save")
> 244 | await expect(page.getByText("Form was submitted!")).toBeVisible()
| ^
245 | // all refs are cleaned up
246 | await expect(testForm).toHaveClass("myformclass")
247 | await expect(submitBtn).toHaveClass("")
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:244:57
|
[chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency:
test/e2e/tests/forms.spec.js#L244
1) [chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Form was submitted!')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Form was submitted!')
242 | await expect(submitBtn).toHaveAttribute("phx-disable-with", "Submitting")
243 | await ack("save")
> 244 | await expect(page.getByText("Form was submitted!")).toBeVisible()
| ^
245 | // all refs are cleaned up
246 | await expect(testForm).toHaveClass("myformclass")
247 | await expect(submitBtn).toHaveClass("")
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:244:57
|
[chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency:
test/e2e/tests/forms.spec.js#L244
2) [chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency ───────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Form was submitted!')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Form was submitted!')
242 | await expect(submitBtn).toHaveAttribute("phx-disable-with", "Submitting")
243 | await ack("save")
> 244 | await expect(page.getByText("Form was submitted!")).toBeVisible()
| ^
245 | // all refs are cleaned up
246 | await expect(testForm).toHaveClass("myformclass")
247 | await expect(submitBtn).toHaveClass("")
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:244:57
|
[chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency:
test/e2e/tests/forms.spec.js#L244
2) [chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency ───────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Form was submitted!')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Form was submitted!')
242 | await expect(submitBtn).toHaveAttribute("phx-disable-with", "Submitting")
243 | await ack("save")
> 244 | await expect(page.getByText("Form was submitted!")).toBeVisible()
| ^
245 | // all refs are cleaned up
246 | await expect(testForm).toHaveClass("myformclass")
247 | await expect(submitBtn).toHaveClass("")
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:244:57
|
[chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency:
test/e2e/tests/forms.spec.js#L244
2) [chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency ───────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: getByText('Form was submitted!')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for getByText('Form was submitted!')
242 | await expect(submitBtn).toHaveAttribute("phx-disable-with", "Submitting")
243 | await ack("save")
> 244 | await expect(page.getByText("Form was submitted!")).toBeVisible()
| ^
245 | // all refs are cleaned up
246 | await expect(testForm).toHaveClass("myformclass")
247 | await expect(submitBtn).toHaveClass("")
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:244:57
|
[chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone:
test/e2e/tests/forms.spec.js#L317
3) [chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('#form-stream li')
Expected: 5
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('#form-stream li')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
315 | await ack("validate")
316 | // on unlock, cloned stream items that are added on each phx-change are applied to DOM
> 317 | await expect(page.locator("#form-stream li")).toHaveCount(5)
| ^
318 | // after clones are applied, the stream item hooks are mounted
319 | // note that the form still awaits the submit ack, but it is not locked,
320 | // therefore the updates from the phx-change are already applied
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:317:49
|
[chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone:
test/e2e/tests/forms.spec.js#L317
3) [chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone ──────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('#form-stream li')
Expected: 5
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('#form-stream li')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
315 | await ack("validate")
316 | // on unlock, cloned stream items that are added on each phx-change are applied to DOM
> 317 | await expect(page.locator("#form-stream li")).toHaveCount(5)
| ^
318 | // after clones are applied, the stream item hooks are mounted
319 | // note that the form still awaits the submit ack, but it is not locked,
320 | // therefore the updates from the phx-change are already applied
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:317:49
|
[chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone:
test/e2e/tests/forms.spec.js#L317
3) [chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone ──────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toHaveCount(expected)
Locator: locator('#form-stream li')
Expected: 5
Received: 3
Call log:
- expect.toHaveCount with timeout 5000ms
- waiting for locator('#form-stream li')
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
- locator resolved to 3 elements
- unexpected value "3"
315 | await ack("validate")
316 | // on unlock, cloned stream items that are added on each phx-change are applied to DOM
> 317 | await expect(page.locator("#form-stream li")).toHaveCount(5)
| ^
318 | // after clones are applied, the stream item hooks are mounted
319 | // note that the form still awaits the submit ack, but it is not locked,
320 | // therefore the updates from the phx-change are already applied
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:317:49
|
[chromium] › tests/issues/2965.spec.js:5:1 › can upload files with custom chunk hook:
test/e2e/tests/issues/2965.spec.js#L26
4) [chromium] › tests/issues/2965.spec.js:5:1 › can upload files with custom chunk hook ──────────
Error: Timed out 5000ms waiting for expect(locator).toHaveAttribute(expected)
Locator: locator('tbody tr').nth(3).locator('progress')
Expected string: "100"
Received string: "0"
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('tbody tr').nth(3).locator('progress')
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
- locator resolved to <progress value="0" max="100">↵ 0%↵ </progress>
- unexpected value "0"
24 | const row = page.locator("tbody tr").nth(i)
25 | await expect(row).toContainText(`file${i + 1}.txt`)
> 26 | await expect(row.locator("progress")).toHaveAttribute("value", "100")
| ^
27 | }
28 |
29 | // all uploads are finished!
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/issues/2965.spec.js:26:43
|
npm test (1.17.2, 27)
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 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 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 27 | Elixir 1.17.2)
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
|
e2e test (1.17.2, 27)
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/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 22.6s
|
Slow Test:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 16.8s
|
🎭 Playwright Run Summary
27 failed
[chromium] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency ─
[chromium] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency ────────
[chromium] › tests/forms.spec.js:260:1 › loading and locked states with latent clone ───────────
[chromium] › tests/issues/2965.spec.js:5:1 › can upload files with custom chunk hook ───────────
[chromium] › tests/issues/3448.spec.js:5:1 › focus is handled correctly when patching locked form
[chromium] › tests/uploads.spec.js:18:1 › can upload a file ────────────────────────────────────
[chromium] › tests/uploads.spec.js:59:1 › can drop a file ──────────────────────────────────────
[chromium] › tests/uploads.spec.js:91:1 › can upload multiple files ────────────────────────────
[chromium] › tests/uploads.spec.js:183:1 › issue 3115 - cancelled upload is not re-added ───────
[firefox] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency ──
[firefox] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency ─────────
[firefox] › tests/forms.spec.js:260:1 › loading and locked states with latent clone ────────────
[firefox] › tests/issues/2965.spec.js:5:1 › can upload files with custom chunk hook ────────────
[firefox] › tests/issues/3448.spec.js:5:1 › focus is handled correctly when patching locked form
[firefox] › tests/uploads.spec.js:18:1 › can upload a file ─────────────────────────────────────
[firefox] › tests/uploads.spec.js:59:1 › can drop a file ───────────────────────────────────────
[firefox] › tests/uploads.spec.js:91:1 › can upload multiple files ─────────────────────────────
[firefox] › tests/uploads.spec.js:183:1 › issue 3115 - cancelled upload is not re-added ────────
[webkit] › tests/forms.spec.js:191:3 › /form/nested - loading and locked states with latency ───
[webkit] › tests/forms.spec.js:191:3 › /form - loading and locked states with latency ──────────
[webkit] › tests/forms.spec.js:260:1 › loading and locked states with latent clone ─────────────
[webkit] › tests/issues/2965.spec.js:5:1 › can upload files with custom chunk hook ─────────────
[webkit] › tests/issues/3448.spec.js:5:1 › focus is handled correctly when patching locked form
[webkit] › tests/uploads.spec.js:18:1 › can upload a file ──────────────────────────────────────
[webkit] › tests/uploads.spec.js:59:1 › can drop a file ────────────────────────────────────────
[webkit] › tests/uploads.spec.js:91:1 › can upload multiple files ──────────────────────────────
[webkit] › tests/uploads.spec.js:183:1 › issue 3115 - cancelled upload is not re-added ─────────
1 flaky
[webkit] › tests/navigation.spec.js:20:1 › can navigate between LiveViews in the same live session over websocket
272 passed (7.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-results
Expired
|
27.1 MB |
|
js-unit-coverage
Expired
|
754 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-1.17.2
Expired
|
91.7 KB |
|
mix-test-coverage-maint-27-main
Expired
|
86 KB |
|
playwright-report
Expired
|
12.1 MB |
|