From a8db6972d029f1eddaab823f23febadf9938ad92 Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Fri, 20 Sep 2024 12:57:41 +0300 Subject: [PATCH 1/2] test: disable user tag opacity transition in visual tests (#7831) --- 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..6785b191c4 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-tags', + css` + :host { + transition: none !important; + } + `, +); From a54547ddf25803a880c0b81898c687f555d8951c Mon Sep 17 00:00:00 2001 From: Serhii Kulykov Date: Fri, 20 Sep 2024 13:26:39 +0300 Subject: [PATCH 2/2] Update packages/field-highlighter/test/visual/common.js --- packages/field-highlighter/test/visual/common.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/field-highlighter/test/visual/common.js b/packages/field-highlighter/test/visual/common.js index 6785b191c4..a5f105a0f8 100644 --- a/packages/field-highlighter/test/visual/common.js +++ b/packages/field-highlighter/test/visual/common.js @@ -33,7 +33,7 @@ registerStyles( /* Disable opacity transition */ registerStyles( - 'vaadin-user-tags', + 'vaadin-user-tag', css` :host { transition: none !important;