MDL-67683 auth: Test login page accessibility with axe best-practice tag

This commit is contained in:
Jun Pataleta
2025-02-03 15:55:55 +08:00
parent d9ad34cb1d
commit 3f8defcc19
+4 -3
View File
@@ -55,12 +55,13 @@ Feature: Authentication
And the page should meet accessibility standards with "wcag131, wcag141, wcag412" extra tests
@javascript @accessibility
Scenario: The login page must have sufficient colour contrast
Scenario: The login page must meet accessibility standards
Given the following config values are set as admin:
| custommenuitems | -This is a custom item\|/customurl/ |
When I am on site homepage
Then the page should meet "wcag143" accessibility standards
And the page should meet accessibility standards with "wcag143" extra tests
Then the page should meet accessibility standards with "best-practice" extra tests
And I follow "Log in"
And the page should meet accessibility standards with "best-practice" extra tests
Scenario: Alternate login URL can be bypassed
Given the following config values are set as admin: