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
CSS style sheets for embedded form not inherited from the parent document #8347
Comments
@mnholtz if we don't want to use VRT for testing, could potentially use CSS classes with isVisible assertion to check if the CSS was applied correctly? (By playing around with |
That's a great idea, I'll probably take that approach for now. Want to have a dedicated VRT discussion/ticket. |
@mnholtz Actually, it looks like Playwright has support for asserting computed styles: https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-css So you can use |
…8353) * introduce empty sidebarPanelTheme spec file * introduce sidebar theme test * add steps for opening the sidebar * finish failing test with green assertions * replace StylesheetsContext * replace StylesheetsContext provider and hooks usage * fix lint errors and add StylesheetsContext to strictnull * replace ephemeralformcontent logic * fix strict null error
…8353) * introduce empty sidebarPanelTheme spec file * introduce sidebar theme test * add steps for opening the sidebar * finish failing test with green assertions * replace StylesheetsContext * replace StylesheetsContext provider and hooks usage * fix lint errors and add StylesheetsContext to strictnull * replace ephemeralformcontent logic * fix strict null error
Describe the bug
To Reproduce
Steps to reproduce the behavior:
I also created a mod here we can use for testing:
@pixies/testing/panel-theme
Actual behavior
Theme CSS is not applied to the form
Expected behavior
Theme should be applied to the form
Screenshots/Loom
Workaround
Desktop (please complete the following information):
Discussion
Testing
@pixies/testing/panel-theme
Investigation
The text was updated successfully, but these errors were encountered: