mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

Previously when options were defined, but no `state` key was provided, the types would return null as an option. Even though the default state is `visible` and shouldn't allow `null`. Tests updated to fail appropriately and new tests added for this case.