web-client-ui icon indicating copy to clipboard operation
web-client-ui copied to clipboard

Find alternative to VITE_PLAYWRIGHT_CSS

Open dsmmcken opened this issue 1 year ago • 0 comments

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.

dsmmcken avatar May 17 '24 21:05 dsmmcken