playwright/packages/playwright-test/src
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
..
common chore: make _setupArtifacts a worker-scoped fixture (#22739) 2023-05-01 13:53:15 -07:00
isomorphic feat: project.teardown that runs after all dependents have finished (#22696) 2023-04-28 14:27:08 -07:00
loader chore: inside out the config & project internal (#22260) 2023-04-07 09:54:01 -07:00
matchers chore: fix soft after poll (#22642) 2023-04-26 08:50:10 -07:00
plugins chore: split InternalReporter and Multiplexer (#22671) 2023-04-26 17:55:58 -07:00
reporters fix: call onExit when merging reports (#22718) 2023-05-01 12:58:40 -07:00
runner fix(runner): do not hang on worker exit before tests (#22742) 2023-05-01 14:54:48 -07:00
third_party feat(test runner): support jsconfig.json's baseUrl+paths (#19219) 2022-12-01 16:42:25 -08:00
worker fix(steps): step should not get an unrelated error (#22773) 2023-05-02 18:50:00 -07:00
cli.ts chore: split merge and blob reporter (#22695) 2023-04-27 16:38:45 -07:00
DEPS.list chore: introduce testInfo.testId (#21670) 2023-03-14 15:58:55 -07:00
experimentalLoader.ts fix(loader): experimentalLoader with node@18 (#21106) 2023-02-22 14:28:03 -08:00
index.ts chore: make _setupArtifacts a worker-scoped fixture (#22739) 2023-05-01 13:53:15 -07:00
internalsForTest.ts chore: respect deps when watching files (#20695) 2023-02-06 17:09:16 -08:00
store.ts chore: inside out the config & project internal (#22260) 2023-04-07 09:54:01 -07:00
util.ts chore: only transpile tsx for components (#22504) 2023-04-19 14:20:53 -07:00
utilsBundle.ts chore: bundle chokidar, leave fsevents as an optional dependency (#20762) 2023-02-09 08:40:27 -08:00