playwright/tests/playwright-test
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
..
__screenshots__/playwright.artifacts.spec.ts feat: allow options in automatic screenshots (#19143) 2022-12-07 08:45:33 -08:00
assets Revert "feat: send SIGTERM to webserver before SIGKILL'ing it. (#18220)" (#18661) 2022-11-09 09:18:33 -08:00
stable-test-runner chore: roll stable-test-runner to 1.28.1 (#19310) 2022-12-06 15:46:19 -08:00
access-data.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
babel.spec.ts feat(ct): support cra w/ .js (#14326) 2022-05-24 19:43:28 -07:00
basic.spec.ts feat(test runner): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -07:00
command-line-filter.spec.ts fix(pwtest): fix focused line with dirname specified (#18189) 2022-10-19 15:05:59 -07:00
config.spec.ts Revert "chore: hide setup, store, TestProject.setupMatch, storageStat… (#19756) 2022-12-28 15:39:31 -08:00
esm.spec.ts fix(esm+tsconfig): allow mapped ts files in esm mode (#17862) 2022-10-05 18:00:49 -07:00
exit-code.spec.ts feat: --pass-with-no-tests option (#16902) 2022-08-29 15:46:34 -07:00
expect-poll.spec.ts chore(expect): extract polling from expect.poll and expect().toPass (#19882) 2023-01-05 11:14:37 -08:00
expect-soft.spec.ts chore(test-runner): rewrite poll, soft, wrap (#13335) 2022-04-05 17:47:35 -07:00
expect-to-pass.spec.ts fix: properly handle negated timed-out toPass matcher (#19580) 2022-12-20 08:41:32 -08:00
expect.spec.ts chore: throw InvalidSelectorError from selector parser, add some tests (#19636) 2022-12-21 14:27:35 -08:00
fixture-errors.spec.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
fixtures.spec.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
gitignore.spec.ts fix(runner): ignore .gitignore if testDir is explicitly configured (#14430) 2022-05-26 14:39:51 -07:00
global-scripts.spec.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
global-setup.spec.ts chore: remove TestProject.projectSetup (#16321) 2022-08-05 15:24:30 -07:00
golden.spec.ts chore: hide "comparator" option from documentation and types (#19441) 2022-12-14 09:58:19 -08:00
hooks.spec.ts fix(test runner): make sure to run afterAll after skipped tests (#19878) 2023-01-04 14:13:49 -08:00
list-mode.spec.ts fix(list mode): print errors to stderr (#13016) 2022-03-24 07:33:33 -07:00
loader.spec.ts fix: make sure jsx fragments are transformed (#19755) 2022-12-31 11:08:36 -08:00
match-grep.spec.ts test(test-runner): add tests to show that grep is case insensitive (#8091) 2021-08-09 14:05:51 -04:00
max-failures.spec.ts fix(test runner): show tests as interrupted when maxFailures stops them (#16178) 2022-08-03 15:25:25 -07:00
override-timeout.spec.ts test(test-runner): unflake override-timeout.spec.ts (#7869) 2021-07-29 13:34:46 -07:00
playwright-test-fixtures.ts chore: remove unused PW_TEST_OUT_OF_PROCESS_DRIVER (#19434) 2022-12-13 16:04:44 -08:00
playwright.artifacts.spec.ts feat: allow options in automatic screenshots (#19143) 2022-12-07 08:45:33 -08:00
playwright.config.spec.ts feat(api): introduce getByTestId (#17645) 2022-09-27 21:06:07 -07:00
playwright.config.ts chore: roll stable-test-runner to 1.28.1 (#19310) 2022-12-06 15:46:19 -08:00
playwright.connect.spec.ts chore: optionally connect instead of launching (#17174) 2022-09-07 15:57:20 -07:00
playwright.ct-build.spec.ts feat(ct): https (#19697) 2022-12-28 17:04:23 -08:00
playwright.ct-react.spec.ts core(ct): import paths (#18131) 2022-10-19 19:41:21 -07:00
playwright.fetch.spec.ts fix: stop har recording when APIRequestContext is disposed (#17007) 2022-08-31 21:51:38 -07:00
playwright.reuse.spec.ts fix(reuse): make reuse work with tracing (#19733) 2023-01-05 14:50:47 -08:00
playwright.spec.ts fix(test runner): make sure undefined options in config result in default values (#19632) 2022-12-21 14:34:43 -08:00
playwright.trace.spec.ts feat(test runner): add --trace cli option (#16277) 2022-08-05 09:20:39 -07:00
playwright.unhandled.spec.ts feat(test runner): separate interrupted status from skipped (#16124) 2022-08-02 12:55:43 -07:00
project-setup.spec.ts feat: config.globalScripts (#20062) 2023-01-12 13:02:54 -08:00
repeat-each.spec.ts chore: enable object-curly-spacing in ESLint (#9168) 2021-09-27 18:58:08 +02:00
reporter-attachment.spec.ts feat(testinfo): add name to attachment output name (#18440) 2022-11-03 13:54:51 -07:00
reporter-base.spec.ts fix(html): test and fix reporter timing display (#19670) 2022-12-22 15:57:55 -08:00
reporter-dot.spec.ts feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08:00
reporter-github.spec.ts feat(test-runner): support expect.soft (#11800) 2022-02-02 18:33:51 -08:00
reporter-html.spec.ts chore(html-reporter): show project name always for the test file (#19905) 2023-01-10 17:11:38 +01:00
reporter-json.spec.ts chore: add snippet to the json report (#17567) 2022-09-27 13:23:08 -07:00
reporter-junit.spec.ts fix(junit): escape null control character (#18325) 2022-10-25 14:39:16 -07:00
reporter-line.spec.ts Revert "fix(test runner): handle istty in line reporter (#15455)" (#15633) 2022-07-13 15:11:56 -07:00
reporter-list.spec.ts chore: render steps in list reporter (#18269) 2022-10-24 15:54:53 -07:00
reporter-raw.spec.ts feat(testinfo): add name to attachment output name (#18440) 2022-11-03 13:54:51 -07:00
reporter.spec.ts chore: report error location for fatal errors (#19610) 2022-12-21 09:36:59 -08:00
resolver.spec.ts feat(test runner): support jsconfig.json's baseUrl+paths (#19219) 2022-12-01 16:42:25 -08:00
retry.spec.ts feat(test runner): test.describe.configure({ retries, timeout }) (#18388) 2022-10-27 15:53:27 -07:00
runner.spec.ts chore: report error location for fatal errors (#19610) 2022-12-21 09:36:59 -08:00
shard.spec.ts fix(shards): zero-sized shard should not include all tests (#19148) 2022-11-29 16:02:11 -08:00
snapshot-path-template.spec.ts chore: rewrite error message for missing snapshot (#19104) 2022-11-29 12:51:15 -08:00
stdio.spec.ts fix: support hasColors and getColorDepth in worker (#15590) 2022-07-12 14:47:14 -07:00
store.spec.ts chore: setup -> test.projectSetup (#19932) 2023-01-09 11:21:48 -08:00
test-extend.spec.ts fix(test runner): make sure undefined options in config result in default values (#19632) 2022-12-21 14:34:43 -08:00
test-grep.spec.ts fix: --grep and --grep-invert should intersect with config (#17716) 2022-09-29 16:39:21 -07:00
test-ignore.spec.ts chore: revert "fix(test-runner): escape backslashes in win cli (#11763)" (#12004) 2022-02-10 07:02:37 -08:00
test-info.spec.ts feat: support clarification message for expect (#11735) 2022-01-31 17:14:59 -08:00
test-modifiers.spec.ts chore: align more ESLint rules with VSCode formatting (#16647) 2022-08-18 20:12:33 +02:00
test-output-dir.spec.ts feat(playwright-test): introduce snapshotPathTemplate configuration (#18568) 2022-11-09 15:29:07 -08:00
test-parallel.spec.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
test-serial.spec.ts fix(test runner): serial suites inside parallel suite should run in parallel (#15769) 2022-07-26 13:38:25 -07:00
test-step.spec.ts feat(soft expect): mark steps with failed soft expects as failed (#19973) 2023-01-09 16:17:06 -08:00
test-use.spec.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
timeout.spec.ts chore: report more fatal errors via reporter (#19640) 2022-12-22 17:31:02 -08:00
to-have-screenshot.spec.ts chore: hide "comparator" option from documentation and types (#19441) 2022-12-14 09:58:19 -08:00
types-2.spec.ts feat(test runner): test.describe.configure({ retries, timeout }) (#18388) 2022-10-27 15:53:27 -07:00
types.spec.ts Revert "chore: hide setup, store, TestProject.setupMatch, storageStat… (#19756) 2022-12-28 15:39:31 -08:00
web-server.spec.ts Revert "feat: send SIGTERM to webserver before SIGKILL'ing it. (#18220)" (#18661) 2022-11-09 09:18:33 -08:00
worker-index.spec.ts feat(test runner): introduce TestInfo.parallelIndex (#9762) 2021-11-01 10:37:34 -07:00