Closed
Description
openedon Sep 15, 2023
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:
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...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment