Merge pull request #56770 from nextcloud/test/cypress-a11y

test(cypress): only check error and warning colors on blurred background
pull/56410/head
Ferdinand Thiessen 2025-12-01 13:59:32 +07:00 committed by GitHub
commit e89a8d832c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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',
],
},