MDL-67687 behat: Login page accessibility ensurance

This commit is contained in:
Andrew Nicols 2020-01-14 12:21:21 +08:00
parent 41eaa09bbe
commit 39a736ef9a

View File

@ -54,3 +54,17 @@ Feature: Authentication
| 0 | not see |
| 1 | see |
| 2 | see |
@javascript @accessibility
Scenario: Login page must be accessible
When I am on site homepage
# The following tests are all provided to ensure that the accessibility tests themselves are tested.
# In normal tests only one of the following is required.
Then the page should meet accessibility standards
And the page should meet "wcag131, wcag412" accessibility standards
And the page should meet accessibility standards with "wcag131, wcag412" extra tests
And I follow "Log in"
And the page should meet accessibility standards
And the page should meet "wcag131, wcag412" accessibility standards
And the page should meet accessibility standards with "wcag131, wcag412" extra tests