Closed michael42 closed 4 years ago
Hi @michael42
Thanks for this issue, transform
is also part of the animations, any idea how to do this better? Also care for a PR?
Simply removing the lines should work fine (it's what we're currently doing before taking screenshots), as transform
is just a static transform. Only animation
or transition
are actually doing the animation.
@michael42
Thanks for the PR, I've released a new version https://github.com/wswebcreation/wdio-image-comparison-service/releases/tag/v1.13.3
Config of the automation framework + plugin
{disableCSSAnimation: true}
Describe the bug Hi there, thanks for the project. We enabled
disableCSSAnimation
, so that we don't have to disable animations ourselves. Unfortunately, this caused our page to render incorrectly, so we had to disable it again.To Reproduce Steps to reproduce the behavior:
transform
, for example to center elements.disableCSSAnimation: true
.transform: none !important;
now causes the page to render incorrectly.Expected behavior setCustomCss should simply not set
transform: none !important;
(and the vendor-prefixed variants).