playwright/tests/playwright-test
Dmitry Gozman c8134bca5d
feat(html): show top-level errors (#27763)
Drive-by:
- extract `TestErrorView`;
- replace `data-test-id` with `data-testid` and `getByTestId()`.

---

<img width="1001" alt="top-level errors in html report"
src="https://github.com/microsoft/playwright/assets/9881434/2d6c0c52-8df1-46a9-b3fd-06ddc6f16796">
2023-10-24 09:35:07 -07:00
..
__screenshots__/playwright.artifacts.spec.ts feat: allow options in automatic screenshots (#19143) 2022-12-07 08:45:33 -08:00
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-test-runner to 1.39.0-beta-1697048429000 (#27553) 2023-10-11 13:42:04 -07:00
access-data.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
babel.spec.ts chore: allow marking scripts as external for transform (#23449) 2023-06-01 20:28:49 -07:00
basic.spec.ts fix(test runner): properly handle uncaught errors in test.fail() (#27734) 2023-10-23 09:14:31 -07:00
command-line-filter.spec.ts chore: remove unnecessary args in ttest (#21012) 2023-02-18 13:08:17 -08:00
config.spec.ts chore: allow merging defineConfig (#26390) 2023-08-09 17:23:34 -07:00
decorators.spec.ts chore: allow ts decorators (#22080) 2023-03-29 20:43:08 -07:00
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 fix: merge{Tests,Expects} via ESM imports (#27630) 2023-10-17 00:09:44 +02:00
exit-code.spec.ts fix: collect stdio from forked processes (#27074) 2023-09-14 18:34:26 +02:00
expect-configure.spec.ts chore: populate matcherResult in web assertions (#27133) 2023-09-16 14:24:10 -07:00
expect-poll.spec.ts chore: show last poller error on test timeout (#24292) 2023-07-18 17:03:26 -07:00
expect-soft.spec.ts chore: introduce expect.configure (#22533) 2023-04-25 10:29:56 -07:00
expect-to-pass.spec.ts chore: show last poller error on test timeout (#24292) 2023-07-18 17:03:26 -07:00
expect.spec.ts chore: composed->merge (#27555) 2023-10-11 13:56:27 -07:00
fixture-errors.spec.ts Revert "chore: refactor timeout manager to use scopes (1) (#24315)" (#24382) 2023-07-24 14:09:20 -07:00
fixtures.spec.ts fix(test runner): make sure auto worker fixtures run before auto test fixtures (#27131) 2023-09-15 14:51:31 -07:00
gitignore.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
global-setup.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
golden.spec.ts chore: remove parsed stack trace (#27496) 2023-10-09 17:04:16 -07:00
hooks.spec.ts chore(test runner): remove fake skipped test results (#27762) 2023-10-24 09:31:30 -07:00
list-files.spec.ts chore: remove output dir before each test (#23380) 2023-05-30 16:03:50 -07:00
list-mode.spec.ts fix: list tests only once (#27103) 2023-09-14 20:00:30 -07:00
loader.spec.ts chore: tolerate css imports (#26626) 2023-08-23 08:32:23 -07:00
match-grep.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
max-failures.spec.ts chore(test runner): do not produce some of the fake skipped test results (#27730) 2023-10-20 17:01:46 -07:00
override-timeout.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
playwright-test-fixtures.ts chore(test runner): do not produce some of the fake skipped test results (#27730) 2023-10-20 17:01:46 -07:00
playwright.artifacts.spec.ts Revert "fix: do not collide with other tests when test names have special chars (#23414)" (#24213) 2023-07-13 20:03:02 +02:00
playwright.config.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
playwright.config.ts fix(blob report): default location relative to package.json (#24481) 2023-07-28 15:49:31 -07:00
playwright.connect.spec.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
playwright.ct-build.spec.ts chore(ct): allow using component as a property (#27272) 2023-09-25 17:00:52 -07:00
playwright.ct-react.spec.ts fix(ct): baseURL playwright config (#27689) 2023-10-18 13:53:58 -07:00
playwright.fetch.spec.ts test: unflake "should stop tracing on requestContext.dispose()" (#23489) 2023-06-02 16:37:50 -07:00
playwright.reuse.browser.spec.ts fix: encode launch options correctly when reusing browser (#24174) 2023-07-12 16:40:55 +02:00
playwright.reuse.spec.ts fix(trace): render items under expect.toPass (#24016) 2023-07-05 11:20:28 -07:00
playwright.spec.ts chore: plumb the target close reason when test fails (#27640) 2023-10-16 20:32:13 -07:00
playwright.trace.spec.ts fix(trace): EPERM on windows (#27693) 2023-10-19 11:14:17 -07:00
playwright.unhandled.spec.ts fix(test runner): properly handle uncaught errors in test.fail() (#27734) 2023-10-23 09:14:31 -07:00
repeat-each.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
reporter-attachment.spec.ts Revert "fix: do not collide with other tests when test names have special chars (#23414)" (#24213) 2023-07-13 20:03:02 +02: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 fix(blob): use reporters from the merge config (#27301) 2023-09-26 11:41:17 -07: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 chore: run more reporter tests through blob report, some fixes (#23765) 2023-06-16 21:30:55 -07:00
reporter-html.spec.ts feat(html): show top-level errors (#27763) 2023-10-24 09:35:07 -07:00
reporter-json.spec.ts feat(json report): add expected/unexpected/skipped/flaky stats (#27685) 2023-10-18 12:55:31 -07: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 chore: remove details from markdown reports (#26961) 2023-09-08 17:49:34 -07: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: unify target closed errors (#27540) 2023-10-12 11:05:34 -07:00
resolver.spec.ts fix(resolver): allow importing packages with non-index main script (#26692) 2023-08-24 14:09:00 -07:00
retry.spec.ts chore(test runner): remove fake skipped test results (#27762) 2023-10-24 09:31:30 -07:00
runner.spec.ts chore(test runner): remove fake skipped test results (#27762) 2023-10-24 09:31:30 -07:00
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: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
store.spec.ts chore: hide store from public (#21763) 2023-03-17 11:50:44 -07:00
test-extend.spec.ts chore: composed->merge (#27555) 2023-10-11 13:56:27 -07:00
test-grep.spec.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
test-ignore.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-info.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-modifiers.spec.ts chore(test runner): remove fake skipped test results (#27762) 2023-10-24 09:31:30 -07:00
test-output-dir.spec.ts Revert "fix: do not collide with other tests when test names have special chars (#23414)" (#24213) 2023-07-13 20:03:02 +02:00
test-parallel.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-serial.spec.ts chore(test runner): remove fake skipped test results (#27762) 2023-10-24 09:31:30 -07:00
test-step.spec.ts feat(step): allow boxing steps (#27334) 2023-09-29 09:44:00 -07:00
test-use.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
timeout.spec.ts chrome: improve error messages on vscode side (#27521) 2023-10-09 19:55:24 -07:00
to-have-screenshot.spec.ts chore: remove parsed stack trace (#27496) 2023-10-09 17:04:16 -07:00
types-2.spec.ts chore: composed->merge (#27555) 2023-10-11 13:56:27 -07:00
types.spec.ts chore: update typescript to 5.1.3 (#23461) 2023-06-02 18:57:09 +02:00
ui-mode-fixtures.ts chore: flaky tests fixes (#26714) 2023-08-25 12:43:50 -07:00
ui-mode-test-attachments.spec.ts chore: fix ui mode to show screenshots (#26563) 2023-08-20 14:47:18 -07:00
ui-mode-test-ct.spec.ts chore: do not add plugins to config twice (#26670) 2023-08-24 16:19:57 -07:00
ui-mode-test-filters.spec.ts test(ui-mode): make retries (#23136) 2023-05-18 11:28:28 -07: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 chore: store scroll positions in trace viewer (#26938) 2023-09-07 17:14:39 -07:00
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: flaky tests fixes (#26714) 2023-08-25 12:43:50 -07:00
ui-mode-test-setup.spec.ts fix(ui-mode): run teardown handlers with Command + C (#24267) 2023-07-19 17:50:25 +02:00
ui-mode-test-source.spec.ts test(ui-mode): make retries (#23136) 2023-05-18 11:28:28 -07:00
ui-mode-test-tree.spec.ts chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
ui-mode-test-update.spec.ts test(ui-mode): make retries (#23136) 2023-05-18 11:28:28 -07:00
ui-mode-test-watch.spec.ts chore(ui): do not watch output folders (#27694) 2023-10-19 15:53:57 -07:00
ui-mode-trace.spec.ts chore: store scroll positions in trace viewer (#26938) 2023-09-07 17:14:39 -07:00
watch.spec.ts chore: populate matcherResult in web assertions (#27133) 2023-09-16 14:24:10 -07:00
web-server.spec.ts fix: handle worker process start failure (#27249) 2023-09-22 10:57:35 -07:00
worker-index.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00