playwright/packages
Dmitry Gozman 10ce7af411
fix(steps): step should not get an unrelated error (#22773)
Previously, we would use any error that was added during the step
execution as an error for this particular step.

This produces false positives, for example failing `page.click` call
that happened during `context` teardown was producing an error and
marking teardown is failed. However, in reality, the test itself has
failed, while teardown has not.

New approach uses test step hierarchy to inherit errors from child steps
to the parent step. This does not regress the original fix where
`expect.soft` errors are surfaced in the parent step.

See also #19973 that introduced the original logic.
2023-05-02 18:50:00 -07:00
..
html-reporter feat(html): matching labels with dash&spec symbol (#22709) 2023-05-01 09:13:30 -07:00
playwright chore: remove cli from playwright-core (#22612) 2023-04-25 11:19:37 -07:00
playwright-chromium chore: remove cli from playwright-core (#22612) 2023-04-25 11:19:37 -07:00
playwright-core fix: do not crash upon download in unknown page (#22774) 2023-05-02 18:49:04 -07:00
playwright-ct-core chore: bump vite to 4.3.3 (#22711) 2023-05-01 15:19:49 -07:00
playwright-ct-react chore: bump vite to 4.3.3 (#22711) 2023-05-01 15:19:49 -07:00
playwright-ct-react17 chore: bump vite to 4.3.3 (#22711) 2023-05-01 15:19:49 -07:00
playwright-ct-solid chore: bump vite to 4.3.3 (#22711) 2023-05-01 15:19:49 -07:00
playwright-ct-svelte chore: bump vite to 4.3.3 (#22711) 2023-05-01 15:19:49 -07:00
playwright-ct-vue chore: bump vite to 4.3.3 (#22711) 2023-05-01 15:19:49 -07:00
playwright-ct-vue2 feat(ct): code split for better performance and isolation (#22494) 2023-04-25 18:08:34 -07:00
playwright-firefox chore: remove cli from playwright-core (#22612) 2023-04-25 11:19:37 -07:00
playwright-test fix(steps): step should not get an unrelated error (#22773) 2023-05-02 18:50:00 -07:00
playwright-webkit chore: remove cli from playwright-core (#22612) 2023-04-25 11:19:37 -07:00
protocol/src chore: allow configuring test id attribute for codegen (#22716) 2023-04-29 12:04:33 -07:00
recorder chore: fix leaking event listeners (#22562) 2023-04-21 12:38:39 -07:00
trace/src chore: add step attachments into the expect trace event (#22543) 2023-04-25 17:38:12 -07:00
trace-viewer chore: poll test result along with the live trace (#22714) 2023-04-28 16:56:28 -07:00
web feat(ct): code split for better performance and isolation (#22494) 2023-04-25 18:08:34 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00