From 2c08e043e40ecd13d9000a32f51379103ce764d9 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Thu, 3 Sep 2020 11:02:37 +0800 Subject: [PATCH] MDL-69391 calendar: Accessibility tests for calendar --- calendar/tests/behat/calendar.feature | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/calendar/tests/behat/calendar.feature b/calendar/tests/behat/calendar.feature index 5f1ffaf5043..88b934d4d5e 100644 --- a/calendar/tests/behat/calendar.feature +++ b/calendar/tests/behat/calendar.feature @@ -238,3 +238,12 @@ Feature: Perform basic calendar functionality And I follow "This month" When I click on "New event" "button" Then I should see "User" in the "div#fitem_id_staticeventtype" "css_element" + + @javascript @accessibility + Scenario: The calendar page must be accessible + And I log in as "student1" + And I am on "Course 1" course homepage + And I follow "This month" + Then the page should meet accessibility standards + And the page should meet "wcag131, wcag143, wcag412" accessibility standards + And the page should meet accessibility standards with "wcag131, wcag143, wcag412" extra tests -- 2.43.0