playwright/packages/playwright-test/src
Yury Semikhatsky 730a197c80
feat: config.globalScripts (#20062)
Introduce config.globalScripts. Tests from the matching files will run
before all projects. We'll only allow beforeAll/afterAll instead of
tests in such files (next PR).

Global scripts are executed as part of 'Global Scripts' project which is
not present in FullConfig.projects but may be referenced by
corresponding global setup Suites.

Signed-off-by: Yury Semikhatsky <yurys@chromium.org>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2023-01-12 13:02:54 -08:00
..
matchers feat(expect): introduce expect(locator).toIntersectViewport() (#19901) 2023-01-06 16:56:24 -08:00
plugins feat(ct): https (#19697) 2022-12-28 17:04:23 -08:00
reporters chore: render readable title separator in errors (#19754) 2023-01-09 09:33:09 -08:00
third_party feat(test runner): support jsconfig.json's baseUrl+paths (#19219) 2022-12-01 16:42:25 -08:00
babelBundle.ts chore: use vite plugin for registry (#13658) 2022-04-21 17:30:17 -07:00
cli.ts chore(cli): filter matches against absolute path (#19900) 2023-01-05 13:39:39 -08:00
DEPS.list chore: render timed out error message when expect timeouts (#18863) 2022-11-16 17:00:42 -08:00
dispatcher.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
expect.ts feat(expect): introduce expect(locator).toIntersectViewport() (#19901) 2023-01-06 16:56:24 -08:00
expectBundle.ts chore: make bundles typed (#13620) 2022-04-18 17:50:25 -07:00
experimentalLoader.ts fix(ts): resolve .js to .ts in non-ESM mode too (#18219) 2022-10-20 12:21:22 -07:00
fixtures.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
globals.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
index.ts chore: setup -> test.projectSetup (#19932) 2023-01-09 11:21:48 -08:00
ipc.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
loader.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
mount.ts fix(reuse): disable trace/video when reusing the context (#19764) 2022-12-28 16:58:34 -08:00
profiler.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
runner.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
sigIntWatcher.ts chore: use utils via index export (5) (#13413) 2022-04-07 20:18:22 -07:00
store.ts Revert "chore: hide setup, store, TestProject.setupMatch, storageStat… (#19756) 2022-12-28 15:39:31 -08:00
test.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
testInfo.ts feat(soft expect): mark steps with failed soft expects as failed (#19973) 2023-01-09 16:17:06 -08:00
testType.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
timeoutManager.ts fix(reuse): make reuse work with tracing (#19733) 2023-01-05 14:50:47 -08:00
transform.ts chore: resolve filename in the resolution hook (#18221) 2022-10-20 13:30:34 -07:00
tsxTransform.ts fix(ct): respect boolean shorthands (#14798) 2022-06-10 17:34:21 -07:00
types.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
util.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
utilsBundle.ts fix(ct): use stoppable server (#16329) 2022-08-08 08:54:56 -07:00
worker.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
workerRunner.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00