playwright/packages/playwright-test/src
Andrey Lushnikov 88610c8b4c
fix: properly define apiName for web-first assertions (#12706)
Turns out relying on PWTRAP in stack is not reliable: depending on the
call structure, the stack might be cut unpredictably by Node.js.

This patch removes PWTRAP and instead plumbs explicit stack and
pre-set `apiName` all the way down to `wrapApiCall`.
2022-03-14 18:01:13 -07:00
..
matchers fix: properly define apiName for web-first assertions (#12706) 2022-03-14 18:01:13 -07:00
reporters Revert "feat(line reporter): show stats, handle tty" (#12735) 2022-03-14 10:37:43 -07:00
third_party chore: move comparator logic to playwright-core (#12232) 2022-02-18 14:39:17 -08:00
cli.ts feat(test-runner): more default workers for M1 (#12660) 2022-03-11 02:12:07 -08:00
dispatcher.ts feat(test runner): on beforeAll failure, precisely skip the tests (#12417) 2022-03-08 20:29:31 -08:00
expect.ts fix: properly define apiName for web-first assertions (#12706) 2022-03-14 18:01:13 -07:00
experimentalLoader.ts fix(test loader): implement tsconfig paths through resolveFilename (#12357) 2022-02-25 15:43:58 -08:00
fixtures.ts reland(test runner): run hooks/modifiers as a part of the test (#12518) 2022-03-08 16:35:14 -08:00
globals.ts chore(test runner): extract TestInfoImpl (#11725) 2022-01-28 17:39:42 -08:00
index.ts chore(fixtures): do not force-close contexts in beforeAll (#12416) 2022-03-09 07:26:46 -08:00
ipc.ts feat(test runner): on beforeAll failure, precisely skip the tests (#12417) 2022-03-08 20:29:31 -08:00
loader.ts fix(test-runner): resolve outputDir wrt rootDir (#12755) 2022-03-14 17:20:17 -07:00
mount.ts chore: add ct examples (#12693) 2022-03-11 15:46:11 -08:00
profiler.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
project.ts reland(test-runner): rely on test title paths instead of ordinal (#12611) 2022-03-08 19:06:25 -08:00
runner.ts feat(test-runner): allow grepping in project (#12469) 2022-03-02 15:02:35 -08:00
test.ts reland(test-runner): rely on test title paths instead of ordinal (#12611) 2022-03-08 19:06:25 -08:00
testInfo.ts feat: support screenshotsDir option (#12642) 2022-03-10 16:50:26 -08:00
testType.ts reland(test-runner): rely on test title paths instead of ordinal (#12611) 2022-03-08 19:06:25 -08:00
transform.ts chore: add experimental mount (#12657) 2022-03-11 08:00:46 -08:00
tsxTransform.ts chore: add experimental mount (#12657) 2022-03-11 08:00:46 -08:00
types.ts reland(test runner): run hooks/modifiers as a part of the test (#12518) 2022-03-08 16:35:14 -08:00
util.ts fix: properly define apiName for web-first assertions (#12706) 2022-03-14 18:01:13 -07:00
webServer.ts chore(test-runner): correct warning instruction for port reuse (#12479) 2022-03-04 10:14:49 +01:00
worker.ts reland(test runner): run hooks/modifiers as a part of the test (#12518) 2022-03-08 16:35:14 -08:00
workerRunner.ts feat(test runner): on beforeAll failure, precisely skip the tests (#12417) 2022-03-08 20:29:31 -08:00