playwright
playwright copied to clipboard
[BUG][experimental-ct-react] Test doesn't work when using twin.macro
trafficstars
System info
- Playwright(experimental-ct-react) Version:
v1.33.0 - Operating System:
macOS 12.5.1 - Browser:
All - Other info:
Source code
- [x] I provided exact source code that allows reproducing the issue locally.
Link to the GitHub repository with the repro
https://github.com/Pewww/playwright-experimental-ct-react-test
Steps
- Install dependencies
- Run test
Expected
It shows normal App page.
Actual
Test stops when declaring 'selector' variable in 'mount' function.
I'm seeing a couple of bug on twin.macro and vite about it:
https://github.com/ben-rogerson/twin.macro/issues/789 https://github.com/vitejs/vite/issues/1942