From bca6b83c97ffa07f3d872cc67a46fbca412e9c11 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 3 Sep 2020 11:02:16 +0800 Subject: [PATCH] MDL-69391 auth: Colour contrast accessibility test for login page --- auth/tests/behat/login.feature | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/auth/tests/behat/login.feature b/auth/tests/behat/login.feature index 8397ac45ce8..087ac3f164e 100644 --- a/auth/tests/behat/login.feature +++ b/auth/tests/behat/login.feature @@ -68,3 +68,11 @@ Feature: Authentication And the page should meet accessibility standards And the page should meet "wcag131, wcag141, wcag412" accessibility standards And the page should meet accessibility standards with "wcag131, wcag141, wcag412" extra tests + + @javascript @accessibility + Scenario: The login page must have sufficient colour contrast + Given the following config values are set as admin: + | custommenuitems | -This is a custom item\|/customurl/ | + And I am on site homepage + And the page should meet "wcag143" accessibility standards + And the page should meet accessibility standards with "wcag143" extra tests