playwright/src/test
Dmitry Gozman 3bf3318350
fix(test runner): make sure options, trace and screenshot apply to all contexts (#8083)
- Uses some auto fixtures to set default options and instrumentation on BrowserType.
- Moves screenshot, trace and video to worker-scoped fixtures.
- Throws in page/context when used from beforeAll/afterAll.
- Plumbs around BrowserType to be accessible from Browser and BrowserContext.
2021-08-09 18:09:11 -07:00
..
matchers feat(expect): introduce explicit default async expect timeout (#8071) 2021-08-07 22:08:56 -07:00
reporters feat(test-result): render image diff (#8061) 2021-08-07 15:47:03 -07:00
cli.ts fix(test runner): align shard info to be one-based everywhere (#7859) 2021-07-27 09:13:04 -07:00
dispatcher.ts fix(test runner): do not swallow afterAll failure (#8099) 2021-08-09 14:21:53 -07:00
expect.ts chore(expect): polish matcher names, remote arguable ones (#8060) 2021-08-06 16:58:42 -07:00
fixtures.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
globals.ts feat(test runner): expect(locator) matchers to show a nice error on timeout (#7935) 2021-07-30 13:12:49 -07:00
index.ts fix(test runner): make sure options, trace and screenshot apply to all contexts (#8083) 2021-08-09 18:09:11 -07:00
ipc.ts feat(test-runner): introduce steps (#7952) 2021-08-02 17:17:20 -07:00
loader.ts feat(test-runner): re-enable web server (#7906) 2021-08-03 23:24:14 +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): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
runner.ts Revert "feat(test runner): file scope fixtures (#7969)" (#8081) 2021-08-09 12:33:16 -07:00
test.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
testType.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
transform.ts perf(test-runner): lazy require babel (#7750) 2021-07-20 13:24:29 -05:00
types.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00
util.ts feat(expect): introduce explicit default async expect timeout (#8071) 2021-08-07 22:08:56 -07:00
webServer.ts feat(test-runner): re-enable web server (#7906) 2021-08-03 23:24:14 +02:00
worker.ts feat(test-runner): introduce steps (#7952) 2021-08-02 17:17:20 -07:00
workerRunner.ts feat(test runner): support test fixtures in beforeAll/afterAll (#8082) 2021-08-09 13:26:33 -07:00