MDL-67683 behat: Add accessibility test for the maintenance mode layout

This commit is contained in:
Jun Pataleta
2025-02-03 15:55:56 +08:00
parent b227c46f5f
commit e14f48ea61
+4 -2
View File
@@ -46,12 +46,14 @@ Feature: Test if the login form provides the correct feedback
And I follow "Log in"
Then I should see "Lorem ipsum dolor sit amet"
@javascript @accessibility
Scenario: Show the maintenance mode message
Given the following config values are set as admin:
| maintenance_enabled | Disabled |
| maintenance_message | Back online tomorrow |
| maintenance_enabled | 1 |
| maintenance_message | Back online tomorrow |
And I follow "Log in"
Then I should see "Back online tomorrow"
And the page should meet accessibility standards with "best-practice" extra tests
Scenario: User self registration
Given the following config values are set as admin: