playwright/src/test
Dmitry Gozman bb34d7a953
fix(test-runner): sanitize snapshot name before constructing a path (#7620)
This avoids problems with `toMatchSnapshot('../../dir/file.png')`
where we append this path to `snapshotDir` and end up in some random
place.

Also added a note to documentation.
2021-07-14 16:31:19 -07:00
..
reporters Use correct skip check when generating junit reports (#7571) 2021-07-13 05:05:34 -07:00
cli.ts feat(test-runner): support esm modules in more places (#7542) 2021-07-12 11:59:58 -05:00
dispatcher.ts feat(test runner): export testInfo.data (#7525) 2021-07-08 17:16:36 -07:00
expect.ts fix(test-runner): handle negated toMatchSnapshot result (#7345) 2021-07-07 18:51:38 -07:00
fixtures.ts fix(test-runner): with automatic fixtures workerInfo was undefined after conditional skip (#7521) 2021-07-08 21:55:43 +02:00
globals.ts chore: bring in folio source (#6923) 2021-06-06 17:09:53 -07:00
golden.ts fix(test-runner): handle negated toMatchSnapshot result (#7345) 2021-07-07 18:51:38 -07:00
index.ts feat(test runner): export testInfo.data (#7525) 2021-07-08 17:16:36 -07:00
ipc.ts feat(test runner): export testInfo.data (#7525) 2021-07-08 17:16:36 -07:00
launchServer.ts feat(test-runner): migrate to launch config/server (#7603) 2021-07-15 01:19:45 +02:00
loader.ts feat(test-runner): migrate to launch config/server (#7603) 2021-07-15 01:19:45 +02:00
profiler.ts chore(test runner): self profile under PWTEST_PROFILE_DIR (#7252) 2021-06-21 14:49:43 -07:00
project.ts feat(test runner): run modifier functions once if they do not depend on test fixtures (#7436) 2021-07-02 15:49:05 -07:00
reporter.ts feat(test runner): export testInfo.data (#7525) 2021-07-08 17:16:36 -07:00
runner.ts feat(test-runner): migrate to launch config/server (#7603) 2021-07-15 01:19:45 +02:00
test.ts feat(test runner): export testInfo.data (#7525) 2021-07-08 17:16:36 -07:00
testType.ts feat(test runner): run modifier functions once if they do not depend on test fixtures (#7436) 2021-07-02 15:49:05 -07:00
transform.ts fix(test-runner): work with .mjs files (#7373) 2021-06-29 15:28:41 -07:00
types.ts feat(test runner): run modifier functions once if they do not depend on test fixtures (#7436) 2021-07-02 15:49:05 -07:00
util.ts feat(test-runner): allow to focus a test in a location (#7208) 2021-06-24 10:02:34 +02:00
worker.ts chore(test runner): self profile under PWTEST_PROFILE_DIR (#7252) 2021-06-21 14:49:43 -07:00
workerRunner.ts fix(test-runner): sanitize snapshot name before constructing a path (#7620) 2021-07-14 16:31:19 -07:00