mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
test(cypress): only check error and warning colors on blurred background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
51a49b58a6
commit
f59435f1cb
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',
|
||||
],
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue