playwright/tests/playwright-test
Dmitry Gozman 4c6fa42810
fix(test runner): expose real stack traces and speed up locations (#7265)
Stop wrapping/prepending error messages so that we do not loose the stack trace. For this, update a few manually thrown errors with better messages (usually including a file path).

Speed up locations by doing manual `sourceMapSupport.wrapCallSite()` for a single call site. Performance gain in the runner process with 100 files x 100 tests each:
- 25% on the fresh run without babel cache;
- 80% on the cached run where babel is almost instant.

Also some obvious cleanups around stack traces (removing unused code).
2021-06-23 10:30:54 -07:00
..
assets chore: bring in folio source (#6923) 2021-06-06 17:09:53 -07:00
entry chore: brush up playwright-test types (#6928) 2021-06-06 20:18:47 -07:00
access-data.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
base-reporter.spec.ts feat(test runner): configurable reportSlowTests (#7120) 2021-06-14 22:45:58 -07:00
basic.spec.ts fix(test runner): properly keep track of requireFile to support helpers/wrappers (#7243) 2021-06-21 11:25:15 -07:00
config.spec.ts fix(test runner): expose real stack traces and speed up locations (#7265) 2021-06-23 10:30:54 -07:00
dot-reporter.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
exit-code.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
expect.spec.ts fix(test-runner): do not require esModuleInterop=true (#7100) 2021-06-14 21:58:10 +02:00
fixture-errors.spec.ts fix(test runner): expose real stack traces and speed up locations (#7265) 2021-06-23 10:30:54 -07:00
fixtures.spec.ts Revert "fix(test-runner): support passing slowMo option (#6991)" (#7077) 2021-06-11 16:19:50 -07:00
gitignore.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
global-setup.spec.ts fix(test runner): expose real stack traces and speed up locations (#7265) 2021-06-23 10:30:54 -07:00
golden.spec.ts feat(test-runner): allow specifying video size (#7158) 2021-06-16 07:51:54 -07:00
hooks.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
json-reporter.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
junit-reporter.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
line-reporter.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
list-mode.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
list-reporter.spec.ts fix(test-runner): support ANSII terminals with list reporter (#7258) 2021-06-22 19:04:24 +02:00
loader.spec.ts fix(test runner): expose real stack traces and speed up locations (#7265) 2021-06-23 10:30:54 -07:00
match-grep.spec.ts feat(test-runner): document tagging, implement grep-invert (#7227) 2021-06-18 17:56:59 -07:00
max-failures.spec.ts fix(pwt): max-failures should work with retries (#7127) 2021-06-14 22:16:16 -07:00
options.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
override-timeout.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
playwright-test-fixtures.ts fix(test runner): expose real stack traces and speed up locations (#7265) 2021-06-23 10:30:54 -07:00
playwright-test.config.ts fix(test-runner): property handle artifacts in context of preserveOutput (#7181) 2021-06-16 16:05:30 -07:00
playwright.spec.ts Revert "chore: update eslint config (#6840)" partly (#7268) 2021-06-23 11:08:35 +02:00
repeat-each.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
retry.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
shard.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
stdio.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
test-extend.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
test-ignore.spec.ts fix(test-runner): case insensitive test filtering 2021-06-15 17:27:52 -07:00
test-info.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
test-modifiers.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
test-output-dir.spec.ts fix(test-runner): property handle artifacts in context of preserveOutput (#7181) 2021-06-16 16:05:30 -07:00
timeout.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
types-2.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
types.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00
worker-index.spec.ts chore: remove internal uses of "folio" (#6931) 2021-06-06 22:07:07 -07:00