Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
66.06k
stars
3.61k
forks
source link
[Bug]: Trace Viewer doesn't surface `all: unset` styles correctly #31500
Open
bmsuseluda opened 3 months ago
Version
1.45.0
Steps to reproduce
pnpm install
pnpm test-ct --ui
ButtonWithStyledComponents -> Button.spec.tsx -> Should render a Button with styled components
Expected behavior
The Button component should render with border-radius and padding, like in the generated snapshot.
Actual behavior
The css attributes are ordered incorrectly and therefore border-radius and padding will be overwritten by several unset statements.
Additional context
Please have a look at the Readme.md where i described the problem in more detail.
Environment