playwright/tests/playwright-test
Dmitry Gozman 3e73a6ce69
feat(test runner): show multiple errors, at most one per stage (#30024)
Previously, there was at most one "hard error", as opposite to multiple
"soft errors". This was done to preserve the historic behavior at the
time of introducing multiple `TestInfo.errors`.

With this change, every user callback that is executed `withRunnable()`
can throw an error and/or timeout, and both of these will end up in
`TestInfo.errors`.

Additionally, there is at most one "unhandled exception" error, to avoid
flooding the report with mass failures.

Drive-by: remove boolean arguments from `_failWithError()`.

Fixes #29876.
2024-03-20 21:01:30 -07:00
..
__screenshots__/playwright.artifacts.spec.ts
assets chore: allow calling spawnSync on Node.js file inside test (#26429) 2023-08-11 18:37:14 +02:00
stable-test-runner chore: roll stable runner to 1.42.0-beta-1708998235000 (#29675) 2024-02-27 08:36:03 -08:00
access-data.spec.ts
babel.spec.ts
basic.spec.ts
command-line-filter.spec.ts
config.spec.ts
decorators.spec.ts
deps.spec.ts chore(test runner): do not produce some of the fake skipped test results (#27730) 2023-10-20 17:01:46 -07:00
esm.spec.ts feat: always enable ESM loader with the new API (#29991) 2024-03-18 21:54:25 -07:00
exit-code.spec.ts
expect-configure.spec.ts chore: populate matcherResult in web assertions (#27133) 2023-09-16 14:24:10 -07:00
expect-poll.spec.ts
expect-soft.spec.ts
expect-to-pass.spec.ts feat(expect): Make toPass's option configurable by TestConfig (#28231) 2024-01-16 12:28:38 +01:00
expect.spec.ts
find-related-tests.spec.ts chore: rename find-related-tests to find-related-test-files (#29483) 2024-02-13 15:40:49 -08:00
fixture-errors.spec.ts feat(test runner): show multiple errors, at most one per stage (#30024) 2024-03-20 21:01:30 -07:00
fixtures.spec.ts
gitignore.spec.ts
global-setup.spec.ts
golden.spec.ts chore: separate results for repeated snapshot names (#29880) 2024-03-12 16:10:43 -07:00
hooks.spec.ts
list-files.spec.ts chore: implement server-based list files (#29633) 2024-02-23 08:29:44 -08:00
list-mode.spec.ts
loader.spec.ts
match-grep.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
max-failures.spec.ts
override-timeout.spec.ts
playwright-test-fixtures.ts feat: exposes tags in testInfo (#29794) 2024-03-06 08:33:06 -08:00
playwright.artifacts.spec.ts
playwright.config.spec.ts
playwright.config.ts
playwright.connect.spec.ts
playwright.ct-build.spec.ts fix(ct): resolve components used in tests during the vite build (#29407) 2024-02-07 20:39:45 -08:00
playwright.ct-react.spec.ts
playwright.fetch.spec.ts
playwright.reuse.browser.spec.ts
playwright.reuse.spec.ts fix(reuse): reset Origin Private File System API (#29921) 2024-03-15 17:40:46 +01:00
playwright.spec.ts
playwright.trace.spec.ts
playwright.unhandled.spec.ts
repeat-each.spec.ts
reporter-attachment.spec.ts fix: quote trace file path when printing error message (#29052) 2024-01-18 14:23:12 -08:00
reporter-base.spec.ts chore(test runner): do not produce some of the fake skipped test results (#27730) 2023-10-20 17:01:46 -07:00
reporter-blob.spec.ts chore: do not use project id in telereporter (#29776) 2024-03-01 21:44:08 -08:00
reporter-dot.spec.ts chore: run more reporter tests through blob report, some fixes (#23765) 2023-06-16 21:30:55 -07:00
reporter-github.spec.ts
reporter-html.spec.ts chore: separate results for repeated snapshot names (#29880) 2024-03-12 16:10:43 -07:00
reporter-json.spec.ts chore: remove --tag and tagFilter (#29468) 2024-02-15 11:37:16 -08:00
reporter-junit.spec.ts fix: render JUnit attachment paths relative to outputFile (#27024) 2023-09-14 12:58:09 -07:00
reporter-line.spec.ts chore: run more reporter tests through blob report, some fixes (#23765) 2023-06-16 21:30:55 -07:00
reporter-list.spec.ts chore: more network panel polish (#26780) 2023-08-29 22:20:28 -07:00
reporter-markdown.spec.ts fix(merge): normalize path separators when merging across platforms (#28227) 2023-11-27 12:43:56 -08:00
reporter-onend.spec.ts feat(onEnd): allow overriding the exit code (#27010) 2023-09-12 13:37:30 -07:00
reporter.spec.ts chore(test runner): move timeout handling to the top, stop inheriting runnable (#29857) 2024-03-08 15:19:36 -08:00
resolver.spec.ts
retry.spec.ts
runner.spec.ts
shard.spec.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
snapshot-path-template.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
stdio.spec.ts
test-extend.spec.ts
test-grep.spec.ts
test-ignore.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-info.spec.ts
test-modifiers.spec.ts
test-output-dir.spec.ts chore: trim file names longer than 60 chars (was 100) (#29725) 2024-03-18 12:53:15 -07:00
test-parallel.spec.ts
test-serial.spec.ts
test-step.spec.ts
test-tag.spec.ts
test-use.spec.ts
timeout.spec.ts
to-have-screenshot.spec.ts fix(toHaveScreenshot): stylePath as first arg (#29372) 2024-02-05 22:52:16 +01:00
types-2.spec.ts
types.spec.ts
ui-mode-fixtures.ts chore: get rid of rimraf package (#27790) 2023-10-26 19:41:00 +02:00
ui-mode-test-attachments.spec.ts fix(trace-viewer): encode attachment filenames as UTF-8 (#29993) 2024-03-18 21:26:45 +01:00
ui-mode-test-ct.spec.ts chore: automatically detect the dev server (#29176) 2024-01-25 11:46:47 -08:00
ui-mode-test-filters.spec.ts feat(ui mode): text filter should filter by explicit tags (#29821) 2024-03-05 10:58:55 -08:00
ui-mode-test-output.spec.ts chore: implement faster ansi2html format for console (#26826) 2023-09-01 09:09:47 -07:00
ui-mode-test-progress.spec.ts
ui-mode-test-run.spec.ts chore: fix total progress reporting w/ deps (#27716) 2023-10-19 20:07:47 -07:00
ui-mode-test-screencast.spec.ts chore: do not select after hooks automatically (#27805) 2023-10-25 17:05:06 -07:00
ui-mode-test-setup.spec.ts chore: prepare to reuse test server from ui mode (4) (#29995) 2024-03-19 13:00:49 -07:00
ui-mode-test-shortcut.spec.ts feat(ui-mode): add key shortcuts for playwright uI test runner (#29868) 2024-03-19 12:36:42 +01:00
ui-mode-test-source.spec.ts
ui-mode-test-tree.spec.ts
ui-mode-test-update.spec.ts chore: prepare to reuse test server from ui mode (5) (#30005) 2024-03-19 14:08:21 -07:00
ui-mode-test-watch.spec.ts chore: prepare to reuse test server from ui mode (2) (#29966) 2024-03-18 09:59:02 -07:00
ui-mode-trace.spec.ts
watch.spec.ts fix(test runner): avoid dependency tracking colliding between esm and cjs (#29994) 2024-03-18 17:17:58 -07:00
web-server.spec.ts
worker-index.spec.ts