web-client-ui
web-client-ui copied to clipboard
Find alternative to VITE_PLAYWRIGHT_CSS
Right now we add additional Playwright.css for tests in the AppRoot, it would be nice if there was some way to do that in playwright directly.
Unfortunately the existing https://playwright.dev/docs/test-snapshots#stylepath method doesn't work for us, as it injects it just before the screenshot is taken, but at that point our grid may or may not already be rendered.
Explore https://playwright.dev/docs/api/class-page#page-add-style-tag but we would have to have a way of making that global correctly.