Skip to content

docs(test): fix the video show option names - #42798

Open
Denis (someden) wants to merge 1 commit into
microsoft:mainfrom
someden:fix-docs
Open

Denis (someden) wants to merge 1 commit into
microsoft:mainfrom
someden:fix-docs

Conversation

@someden

Copy link
Copy Markdown

The prose named action with an optional delay; the option is actions with duration. The level table listed "test"; the type declares 'title'. Both spellings are rejected by the TypeScript types, so the docs pointed readers at options that do not exist.

packages/playwright/types/test.d.ts is regenerated from that prose. The level union in it is unchanged — it comes from utils/generate_types/overrides-test.d.ts, not from this table.

The prose named `action` with an optional `delay`; the option is `actions` with
`duration`. The `level` table listed "test"; the type declares 'title'. Both
spellings are rejected by the TypeScript types, so the docs pointed readers at
options that do not exist.

packages/playwright/types/test.d.ts is regenerated from that prose. The `level`
union in it is unchanged — it comes from utils/generate_types/overrides-test.d.ts,
not from this table.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant