Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find alternative to VITE_PLAYWRIGHT_CSS #2026

Open
dsmmcken opened this issue May 17, 2024 · 0 comments
Open

Find alternative to VITE_PLAYWRIGHT_CSS #2026

dsmmcken opened this issue May 17, 2024 · 0 comments
Milestone

Comments

@dsmmcken
Copy link
Contributor

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 dsmmcken added the triage Issue requires triage label May 17, 2024
@vbabich vbabich added this to the Backlog milestone May 21, 2024
@vbabich vbabich removed the triage Issue requires triage label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants