From 8fda8ee703df1276cbfe589c79ae3cdff0167534 Mon Sep 17 00:00:00 2001 From: Vaadin Bot Date: Fri, 20 Sep 2024 12:30:05 +0200 Subject: [PATCH] test: disable user tag opacity transition in visual tests (#7831) (#7838) Co-authored-by: Serhii Kulykov --- packages/field-highlighter/test/visual/common.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/field-highlighter/test/visual/common.js b/packages/field-highlighter/test/visual/common.js index 8f0907cf69..a5f105a0f8 100644 --- a/packages/field-highlighter/test/visual/common.js +++ b/packages/field-highlighter/test/visual/common.js @@ -30,3 +30,13 @@ registerStyles( } `, ); + +/* Disable opacity transition */ +registerStyles( + 'vaadin-user-tag', + css` + :host { + transition: none !important; + } + `, +);