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

This commit is contained in:
Jun Pataleta 2024-07-26 11:41:26 +08:00
parent 1187083f7c
commit 20aee393ce
No known key found for this signature in database
GPG Key ID: F83510526D99E2C7

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: