Apply eslint formatting to playwright tests #7029
ci.yml
on: push
Matrix: e2e test
Matrix: mix_test
Matrix: npm test
coverage report
0s
Annotations
2 errors, 4 warnings, and 1 notice
[webkit] › tests/forms.spec.js:363:1 › can dynamically add/remove inputs (ecto sort_param/drop_param):
test/e2e/tests/forms.spec.js#L377
1) [webkit] › tests/forms.spec.js:363:1 › can dynamically add/remove inputs (ecto sort_param/drop_param)
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
- ObjectContaining {
+ Object {
"my_form[name]": "Test",
- "my_form[users][0][name]": "",
+ "my_form[users_drop][]": "",
}
375 | await page.getByRole("button", {name: "add more"}).click()
376 |
> 377 | expect(await formData()).toEqual(expect.objectContaining({
| ^
378 | "my_form[name]": "Test",
379 | "my_form[users][0][name]": "",
380 | }))
at /__w/phoenix_live_view/phoenix_live_view/test/e2e/tests/forms.spec.js:377:28
|
e2e test (1.17.2, 27)
Process completed with exit code 1.
|
Slow Test:
test/e2e/[webkit] › tests/streams.spec.js#L1
test/e2e/[webkit] › tests/streams.spec.js took 24.0s
|
Slow Test:
test/e2e/[firefox] › tests/forms.spec.js#L1
test/e2e/[firefox] › tests/forms.spec.js took 23.7s
|
Slow Test:
test/e2e/[firefox] › tests/streams.spec.js#L1
test/e2e/[firefox] › tests/streams.spec.js took 20.5s
|
Slow Test:
test/e2e/[chromium] › tests/forms.spec.js#L1
test/e2e/[chromium] › tests/forms.spec.js took 16.3s
|
🎭 Playwright Run Summary
1 flaky
[webkit] › tests/forms.spec.js:363:1 › can dynamically add/remove inputs (ecto sort_param/drop_param)
290 passed (2.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
e2e-test-results
Expired
|
2.82 MB |
|
js-unit-coverage
Expired
|
751 KB |
|
mix-e2e-coverage
Expired
|
85.5 KB |
|
mix-test-coverage-24.3-1.13.4
Expired
|
137 KB |
|
mix-test-coverage-25.3-1.15.4
Expired
|
140 KB |
|
mix-test-coverage-26.2-1.16.3
Expired
|
137 KB |
|
mix-test-coverage-27-1.17.2
Expired
|
91.1 KB |
|
mix-test-coverage-maint-27-main
Expired
|
87.8 KB |
|
playwright-report
Expired
|
860 KB |
|