Skip to content

Commit

Permalink
Disable animations completely in e2e tests (#13779)
Browse files Browse the repository at this point in the history
  • Loading branch information
gziolo authored and youknowriad committed Feb 8, 2019
1 parent 6ee1944 commit dcc4cbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/e2e-tests/plugins/disable-animations.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
* Enqueue CSS stylesheet disabling animations.
*/
function enqueue_disable_animations_stylesheet() {
$custom_css = '* { animation-duration: 1ms !important; }';
$custom_css = '* { animation-duration: 0ms !important; }';
wp_add_inline_style( 'wp-components', $custom_css );
}

Expand Down

0 comments on commit dcc4cbd

Please sign in to comment.