Added more urls
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
65cc1bbd7e
commit
a9db8d6898
1 changed files with 25 additions and 8 deletions
|
@ -4,17 +4,12 @@
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"useIncognitoBrowserContext": false,
|
"useIncognitoBrowserContext": false,
|
||||||
"timeout": 500000,
|
"timeout": 500000,
|
||||||
"wait": 2000,
|
"wait": 5000,
|
||||||
"ignore" : [
|
"ignore" : [
|
||||||
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G145.Fail",
|
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G145.Fail",
|
||||||
"WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.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": {
|
"viewport": {
|
||||||
"width": 1280,
|
"width": 1280,
|
||||||
"height": 1024
|
"height": 1024
|
||||||
|
@ -25,6 +20,7 @@
|
||||||
"__NOTE" : "this should always be FIRST (if browser context is preserved)",
|
"__NOTE" : "this should always be FIRST (if browser context is preserved)",
|
||||||
"url": "https://snipe-it.test/login",
|
"url": "https://snipe-it.test/login",
|
||||||
"actions": [
|
"actions": [
|
||||||
|
"navigate to https://snipe-it.test/login",
|
||||||
"screen capture tests/pa11y/login.png",
|
"screen capture tests/pa11y/login.png",
|
||||||
"set field input[name='username'] to admin",
|
"set field input[name='username'] to admin",
|
||||||
"set field input[name='password'] to password",
|
"set field input[name='password'] to password",
|
||||||
|
@ -32,6 +28,27 @@
|
||||||
"wait for url to be https://snipe-it.test/",
|
"wait for url to be https://snipe-it.test/",
|
||||||
"screen capture tests/pa11y/dashboard.png"
|
"screen capture tests/pa11y/dashboard.png"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url" : "https://snipe-it.test/admin",
|
||||||
|
"actions" : [
|
||||||
|
"navigate to https://snipe-it.test/admin",
|
||||||
|
"screen capture tests/pa11y/admin-settings.png"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url" : "https://snipe-it.test/hardware/create",
|
||||||
|
"actions" : [
|
||||||
|
"navigate to https://snipe-it.test/hardware/create",
|
||||||
|
"screen capture tests/pa11y/asset-create.png"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"url" : "https://snipe-it.test/hardware",
|
||||||
|
"actions" : [
|
||||||
|
"navigate to https://snipe-it.test/hardware",
|
||||||
|
"screen capture tests/pa11y/asset-list.png"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue