playwright/tests/playwright-test
Dmitry Gozman c1447eb8c1 fix(types): update types for test.extend
- Replace `KeyValue` with `{}` to avoid inferring `KeyValue` when not intended
  and turning all properties into `any`.
- Employ `as Exclude<K, keyof PW | keyof PT>` technique to make sure
  overridden fixtures inherit from the base test type, and are not looked up
  in the extended fixtures list where they are not present.

This should fix errors with TypeScript 5.8.
2024-11-28 09:17:00 +00:00
..
__screenshots__/playwright.artifacts.spec.ts feat: allow options in automatic screenshots (#19143) 2022-12-07 08:45:33 -08:00
assets fix(ui): print the web server output in the ui mode (#31824) 2024-07-23 16:52:32 -07:00
stable-test-runner chore: roll stable-test-runner to 1.49.0-beta-1731772650000 (#33648) 2024-11-18 10:21:48 +01:00
access-data.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
babel.spec.ts chore: enable @babel/plugin-syntax-import-attributes all the time (#32713) 2024-09-19 16:51:35 +02:00
basic.spec.ts feat(testType): add support for test.fail.only method (#33001) 2024-10-16 06:47:23 -07:00
clear-cache.spec.ts chore: implement clear-cache through plugins (#32471) 2024-09-05 13:50:16 -07:00
command-line-filter.spec.ts chore: remove unnecessary args in ttest (#21012) 2023-02-18 13:08:17 -08:00
config.spec.ts feat: TestProject.ignoreSnapshots (#30466) 2024-04-22 16:16:38 -07:00
decorators.spec.ts chore: allow ts decorators (#22080) 2023-03-29 20:43:08 -07:00
deps.spec.ts chore(test runner): do not produce some of the fake skipped test results (#27730) 2023-10-20 17:01:46 -07:00
esm.spec.ts fix(transform): allow import attributes always (#33527) 2024-11-11 10:26:13 +01:00
exit-code.spec.ts feat: implement flag to fail flaky tests (#30618) 2024-05-15 09:10:10 -07:00
expect-configure.spec.ts chore: populate matcherResult in web assertions (#27133) 2023-09-16 14:24:10 -07:00
expect-poll.spec.ts fix(expect): respect custom message in expect.poll (#32603) 2024-09-16 00:10:06 -07:00
expect-soft.spec.ts docs: do not call custom expect message an "error message" (#29390) 2024-02-06 12:12:45 -08:00
expect-to-pass.spec.ts feat: Support intervals arg for toPass (#30037) 2024-03-29 10:17:29 -07:00
expect.spec.ts fix(expect): adjust normalization for regex values in toHaveText matcher (#33533) 2024-11-11 17:19:04 -08:00
find-related-tests.spec.ts chore: make find-related-test-files work through plugins (#32465) 2024-09-05 06:52:11 -07:00
fit-to-width.spec.ts chore(reporter): add another surrogate pair test case (#33428) 2024-11-05 07:55:17 +01:00
fixture-errors.spec.ts feat: allow boxing and titling fixtures, simulate context fixture deps (#31423) 2024-06-24 21:43:43 -07:00
fixtures.spec.ts fix(test runner): make sure auto worker fixtures run before auto test fixtures (#27131) 2023-09-15 14:51:31 -07:00
gitignore.spec.ts feat(config): respectGitIgnore option (#30972) 2024-05-23 12:05:02 -07:00
global-setup.spec.ts fix(global setup): simplify ordering (#33444) 2024-11-05 10:36:29 +01:00
golden.spec.ts chore: use diff for snapshot delta (#33739) 2024-11-23 11:39:04 -08:00
hooks.spec.ts fix(test runner): timeout in fixture teardown should not prevent other slots (#32157) 2024-08-16 04:25:00 -07:00
list-files.spec.ts chore: implement server-based list files (#29633) 2024-02-23 08:29:44 -08:00
list-mode.spec.ts Revert "fix: respect .only in --list mode" (#28770) 2023-12-22 11:03:30 -08:00
loader.spec.ts fix(test runner): do not revert the transform (#31930) 2024-07-31 13:17:09 -07:00
match-grep.spec.ts fix(ui): when --grep is used, UI should only show selected tests (#31815) 2024-07-23 15:29:08 +02:00
max-failures.spec.ts fix(test-runner): do not consider retries for maxFailures (#32533) 2024-09-11 20:35:26 +02:00
only-changed.spec.ts test: speed up only-changed CT test (#32947) 2024-10-04 10:06:56 +02:00
override-timeout.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
playwright-test-fixtures.ts chore: implement clear-cache through plugins (#32471) 2024-09-05 13:50:16 -07:00
playwright.artifacts.spec.ts feat: screenshot:on-first-failure (#33266) 2024-10-24 04:41:35 -07:00
playwright.config.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
playwright.config.ts chore: roll expect and move it to third party (#32458) 2024-09-09 13:12:20 -07:00
playwright.connect.spec.ts Revert "feat(trace): record trace upon browser closure (#31563)" (#31677) 2024-07-15 01:08:51 -07:00
playwright.ct-build.spec.ts fix(ct): allow importing components from node_modules (#30493) 2024-04-24 12:32:28 -07:00
playwright.ct-dev-server.spec.ts chore: make dev server only use public config (#32441) 2024-09-04 01:29:55 -07:00
playwright.ct-react.spec.ts test: unflake should pass "key" attribute from JSX in variable (#31141) 2024-06-04 17:57:57 +02:00
playwright.fetch.spec.ts chore: hint at unroute for handle errors (#30949) 2024-05-22 08:54:19 -07:00
playwright.reuse.browser.spec.ts fix(connect): annotate internal api calls correctly (#31715) 2024-07-17 09:00:47 +02:00
playwright.reuse.spec.ts fix(trace): afterAll hook should not break tracing with reused context (#33616) 2024-11-14 13:24:02 -08:00
playwright.spec.ts fix(test runner): page.pause() should enable debug mode (#32714) 2024-09-20 00:41:16 -07:00
playwright.trace.spec.ts test: make a few tests headed/headless agnostic (#33268) 2024-10-24 06:03:36 -07:00
playwright.unhandled.spec.ts fix(test runner): properly handle uncaught errors in test.fail() (#27734) 2023-10-23 09:14:31 -07:00
repeat-each.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
reporter-attachment.spec.ts Revert "feat(tracing): add .pwtrace to trace file extension" (#32648) 2024-09-17 15:32:30 +02:00
reporter-base.spec.ts chore: dedupe tags in base reporter title (#33461) 2024-11-05 16:18:10 -08:00
reporter-blob.spec.ts test: fix project filter test (#32525) 2024-09-09 14:00:51 -07:00
reporter-dot.spec.ts chore: run more reporter tests through blob report, some fixes (#23765) 2023-06-16 21:30:55 -07:00
reporter-github.spec.ts chore: run more reporter tests through blob report, some fixes (#23765) 2023-06-16 21:30:55 -07:00
reporter-html.spec.ts chore: use diff for snapshot delta (#33739) 2024-11-23 11:39:04 -08:00
reporter-json.spec.ts feat(reporters): align and document environment variables (#30912) 2024-05-21 10:46:52 -07:00
reporter-junit.spec.ts test: fix recently added junit tests (#32844) 2024-09-26 19:32:54 -07:00
reporter-line.spec.ts chore: trim multiline step titles to first line (#31269) 2024-06-12 08:24:12 -07:00
reporter-list.spec.ts fix(list reporter): print step ends in non-TTY mode (#31703) 2024-07-17 13:36:37 +02:00
reporter-markdown.spec.ts chore: hide 'markdown' reporter (#33140) 2024-10-18 23:00:05 +02:00
reporter-onend.spec.ts feat(onEnd): allow overriding the exit code (#27010) 2023-09-12 13:37:30 -07:00
reporter.spec.ts test: unflake "should work with custom reporter" (#30526) 2024-04-24 20:03:39 -07:00
resolver.spec.ts feat: config.build.tsconfig (#33026) 2024-10-10 01:37:46 -07:00
retry.spec.ts fix(reporters): properly determine flaky status for serial mode (#30529) 2024-04-25 13:39:14 -07:00
runner.spec.ts fix(global setup): simplify ordering (#33444) 2024-11-05 10:36:29 +01:00
shard.spec.ts fix(test runner): when sharding with beforeAll, use shards total instead of workers (#33083) 2024-10-14 13:46:06 -07:00
snapshot-path-template.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
stdio.spec.ts fix(test runner): cleanup DEBUG_COLORS usage (#32764) 2024-09-26 03:15:46 -07:00
test-extend.spec.ts chore: composed->merge (#27555) 2023-10-11 13:56:27 -07:00
test-grep.spec.ts Fix various typos (Fixes #27396) (#27391) 2023-10-04 19:56:42 -07:00
test-ignore.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-info.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-modifiers.spec.ts feat(testType): add support for test.fail.only method (#33001) 2024-10-16 06:47:23 -07:00
test-output-dir.spec.ts chore: trim file names longer than 60 chars (was 100) (#29725) 2024-03-18 12:53:15 -07:00
test-parallel.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
test-serial.spec.ts fix(reporters): properly determine flaky status for serial mode (#30529) 2024-04-25 13:39:14 -07:00
test-server.spec.ts chore: implement clear-cache through plugins (#32471) 2024-09-05 13:50:16 -07:00
test-step.spec.ts fix(test): hide response.* calls from reports (#33620) 2024-11-18 13:59:40 +01:00
test-tag.spec.ts Revert "chore: enforce tags format via typescript types (#32384)" (#32431) 2024-09-03 10:07:08 -07:00
test-use.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00
timeout.spec.ts fix(test runner): timeout in fixture teardown should not prevent other slots (#32157) 2024-08-16 04:25:00 -07:00
to-have-screenshot.spec.ts chore: introduce update-snapshots=changed (#33735) 2024-11-22 17:41:31 -08:00
types-2.spec.ts feat(testType): add support for test.fail.only method (#33001) 2024-10-16 06:47:23 -07:00
types.spec.ts fix(types): update types for test.extend 2024-11-28 09:17:00 +00:00
ui-mode-fixtures.ts test: use 'chrome' for UI mode tests (#33329) 2024-10-28 21:56:46 +01:00
ui-mode-test-annotations.spec.ts chore: implement tree w/o list (#33169) 2024-10-18 13:50:43 -07:00
ui-mode-test-attachments.spec.ts feat(trace viewer): link from attach action to attachment tab (#33265) 2024-11-06 10:22:15 +01:00
ui-mode-test-ct.spec.ts chore: automatically detect the dev server (#29176) 2024-01-25 11:46:47 -08:00
ui-mode-test-filters.spec.ts chore: implement tree w/o list (#33167) 2024-10-17 16:57:45 -07:00
ui-mode-test-network-tab.spec.ts feat(ui-mode): display list of query params in request tab (#32443) 2024-09-04 07:54:44 -07:00
ui-mode-test-output.spec.ts chore: suggest aria snapshots w/ regex (#33334) 2024-10-29 16:19:08 -07:00
ui-mode-test-progress.spec.ts chore: implement tree w/o list (#33167) 2024-10-17 16:57:45 -07:00
ui-mode-test-run.spec.ts fix(ui-mode): prevent websocket connection leaks on reload (#33643) 2024-11-18 01:03:21 -08:00
ui-mode-test-screencast.spec.ts test: unflake various tests (#32014) 2024-08-05 08:29:13 -07:00
ui-mode-test-setup.spec.ts chore: update missing snapshots by default (#33311) 2024-10-25 16:13:38 -07:00
ui-mode-test-shortcut.spec.ts chore: update missing snapshots by default (#33311) 2024-10-25 16:13:38 -07:00
ui-mode-test-source.spec.ts chore: nicer cm widgets for aria (#33524) 2024-11-11 09:40:50 -08:00
ui-mode-test-tree.spec.ts fix(ui mode): do not render anonymous describe (#33675) 2024-11-20 00:51:31 -08:00
ui-mode-test-update.spec.ts chore: implement tree w/o list (#33169) 2024-10-18 13:50:43 -07:00
ui-mode-test-watch.spec.ts chore: implement tree w/o list (#33169) 2024-10-18 13:50:43 -07:00
ui-mode-trace.spec.ts test: add 'should show errors with causes in the error tab' (#33577) 2024-11-13 17:32:32 +01:00
update-aria-snapshot.spec.ts chore: introduce update-source-method (#33738) 2024-11-22 18:30:35 -08:00
watch.spec.ts feat(test runner): allow stopping testrun with escape (#32584) 2024-10-08 11:39:54 -07:00
web-server.spec.ts fix(HEAD): revert GET->HEAD migration, net-effect was negative (#29738) 2024-02-29 09:02:05 -08:00
worker-index.spec.ts test: remove magic headers in ttest (#20867) 2023-02-14 19:20:56 -08:00