Context:
- GOOD Playwright Version: 1.37.1
- BAD Playwright Version: 1.38.0
- Operating System: Linux
- Extra: n/a
Code Snippet
Example of the types in question:
https://github.com/defencedigital/moduk-frontend/blob/5b7779e57bd3bdb01148c29e990f089292261d4f/global.d.ts
Describe the bug
I'm no longer able to define working types for custom matchers for locators and pages following the same pattern as the generic example in https://playwright.dev/docs/test-configuration#add-custom-matchers-using-expectextend. This was previously working.
I suspect this is related to the introduction of SpecificMatchers in 81cc39e.
It's possible the documentation needs to be updated/expanded, but I'm not sure it's still possible to add custom matchers for pages and locators (and API responses...)