Ignore screenshots

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2025-04-23 05:53:11 +01:00
parent 3ae2454228
commit 65cc1bbd7e
2 changed files with 13 additions and 1 deletions
+11 -1
View File
@@ -2,12 +2,19 @@
"standard": "WCAG2AA",
"level": "error",
"defaults": {
"useIncognitoBrowserContext": false,
"timeout": 500000,
"wait": 2000,
"ignore" : [
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G145.Fail",
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail"
],
"actions": [
"set field input[name='username'] to admin",
"set field input[name='password'] to password",
"click element button[type=submit]",
"wait for url to be https://snipe-it.test/"
],
"viewport": {
"width": 1280,
"height": 1024
@@ -15,12 +22,15 @@
},
"urls": [
{
"__NOTE" : "this should always be FIRST (if browser context is preserved)",
"url": "https://snipe-it.test/login",
"actions": [
"screen capture tests/pa11y/login.png",
"set field input[name='username'] to admin",
"set field input[name='password'] to password",
"click element button[type=submit]",
"wait for url to be https://snipe-it.test/"
"wait for url to be https://snipe-it.test/",
"screen capture tests/pa11y/dashboard.png"
]
}
]
+2
View File
@@ -0,0 +1,2 @@
*
!.gitignore