You can see the failure with the error Error: Cannot call method 'queryByRole' of undefined
Expected behavior
The selectors should work with the experimentalProxyless option enabled.
Screenshots
Desktop (please complete the following information):
OS: [e.g. iOS] MacOS
Browser [e.g. chrome, safari] Chrome
Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
Additional context
Note that it uses 2.2.0-rc.1 version of TestCafe. For older versions, the option name is proxyless.
Interestingly, withexperimentalProxyless option disabled, the test passes. And of course, the selectors from testcafe library work too.
Describe the bug Unable to use the
testing-library
selector with theexperimentalProxyless
option of testcafe enabled, which is previouslyproxyless
.To Reproduce Steps to reproduce the behavior:
Error: Cannot call method 'queryByRole' of undefined
Expected behavior The selectors should work with the
experimentalProxyless
option enabled.Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Note that it uses
2.2.0-rc.1
version of TestCafe. For older versions, the option name isproxyless
. Interestingly, withexperimentalProxyless
option disabled, the test passes. And of course, the selectors from testcafe library work too.