[TESTS][A11Y] Login and check all user pages for accessibility
This commit is contained in:
parent
9e4aed84f8
commit
da7ae5e1f5
|
@ -45,7 +45,7 @@
|
||||||
|
|
||||||
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}">
|
||||||
<div>
|
<div>
|
||||||
<button class="btn btn-lg btn-primary" type="submit">Sign in</button>
|
<button id="signIn" class="btn btn-lg btn-primary" type="submit">Sign in</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
"chromeLaunchConfig": {
|
"chromeLaunchConfig": {
|
||||||
"ignoreHTTPSErrors": true
|
"ignoreHTTPSErrors": true
|
||||||
},
|
},
|
||||||
"timeout": 5000,
|
"standard": "WCAG2AAA",
|
||||||
|
"timeout": 10000,
|
||||||
"viewport": {
|
"viewport": {
|
||||||
"width": 320,
|
"width": 1920,
|
||||||
"height": 480
|
"height": 1080
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"concurrency": 4,
|
"concurrency": 4,
|
||||||
|
@ -19,6 +20,29 @@
|
||||||
"https://nginx/doc/source",
|
"https://nginx/doc/source",
|
||||||
"https://nginx/doc/version",
|
"https://nginx/doc/version",
|
||||||
"https://nginx/main/login",
|
"https://nginx/main/login",
|
||||||
"https://nginx/main/register"
|
"https://nginx/main/register",
|
||||||
|
{
|
||||||
|
"url": "http://nginx/main/login",
|
||||||
|
"actions": [
|
||||||
|
"navigate to https://nginx/main/login",
|
||||||
|
"set field #inputNicknameOrEmail to taken_user",
|
||||||
|
"set field #inputPassword to foobar",
|
||||||
|
"click element #signIn",
|
||||||
|
"wait for path to not be /login"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"https://nginx/feed/public",
|
||||||
|
"https://nginx/feed/home",
|
||||||
|
"https://nginx/@taken_user/circles",
|
||||||
|
"https://nginx/feed/network",
|
||||||
|
"https://nginx/feed/clique",
|
||||||
|
"https://nginx/feed/federated",
|
||||||
|
"https://nginx/feed/notifications",
|
||||||
|
"https://nginx/@taken_user/collections",
|
||||||
|
"https://nginx/@taken_user/favourites",
|
||||||
|
"https://nginx/@taken_user/reverse_favourites",
|
||||||
|
"https://nginx/directory/people",
|
||||||
|
"https://nginx/directory/groups",
|
||||||
|
"https://nginx/settings"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user