diff --git a/auth/tests/behat/login.feature b/auth/tests/behat/login.feature index f80390b204e..5ebb83ab3d0 100644 --- a/auth/tests/behat/login.feature +++ b/auth/tests/behat/login.feature @@ -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