test(cypress): only check error and warning colors on blurred background

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
pull/56770/head
Ferdinand Thiessen 2025-12-01 13:01:21 +07:00
parent 51a49b58a6
commit f59435f1cb
No known key found for this signature in database
GPG Key ID: 45FAE7268762B400
1 changed files with 10 additions and 1 deletions

@ -66,7 +66,7 @@ const testCases = {
'color-primary-element-light-hover',
],
},
'Servity information texts': {
'Severity information texts': {
foregroundColors: [
'color-error-text',
'color-warning-text',
@ -76,6 +76,15 @@ const testCases = {
backgroundColors: [
'color-main-background',
'color-background-hover',
],
},
// only most important severity colors are supported on the blur
'Severity information on blur': {
foregroundColors: [
'color-error-text',
'color-success-text',
],
backgroundColors: [
'color-main-background-blur',
],
},