diff --git a/public/blocks/timeline/tests/behat/block_timeline_courses.feature b/public/blocks/timeline/tests/behat/block_timeline_courses.feature index 90720be4c7e..3564c0dfde3 100644 --- a/public/blocks/timeline/tests/behat/block_timeline_courses.feature +++ b/public/blocks/timeline/tests/behat/block_timeline_courses.feature @@ -37,8 +37,10 @@ Feature: The timeline block allows users to see upcoming courses | student1 | C3 | student | | student1 | C4 | student | + @accessibility Scenario: Next 30 days in course view Given I log in as "student1" + And the "Timeline" "block" should meet accessibility standards with "best-practice" extra tests And I click on "Filter timeline by date" "button" in the "Timeline" "block" And I click on "Next 30 days" "link" in the "Timeline" "block" And I click on "Sort timeline items" "button" in the "Timeline" "block" @@ -61,6 +63,7 @@ Feature: The timeline block allows users to see upcoming courses And "Test feedback 2" "link" should not exist in the "Timeline" "block" And "Test feedback 3" "link" should not exist in the "Timeline" "block" And "Test assign 1" "link" should not exist in the "Timeline" "block" + And the "Timeline" "block" should meet accessibility standards with "best-practice" extra tests Scenario: All in course view Given I log in as "student1" diff --git a/public/blocks/timeline/tests/behat/block_timeline_dates.feature b/public/blocks/timeline/tests/behat/block_timeline_dates.feature index 681fd1aad06..c1bb71e0b9b 100644 --- a/public/blocks/timeline/tests/behat/block_timeline_dates.feature +++ b/public/blocks/timeline/tests/behat/block_timeline_dates.feature @@ -50,9 +50,11 @@ Feature: The timeline block allows users to see upcoming activities And "Test assign 1" "link" should not exist in the "Timeline" "block" And I should not see "Assignment is due · Course 1" in the "Timeline" "block" + @accessibility Scenario: Overdue in date view Given I log in as "student1" And I click on "Filter timeline by date" "button" in the "Timeline" "block" + And the "Timeline" "block" should meet accessibility standards with "best-practice" extra tests When I click on "Overdue" "link" in the "Timeline" "block" Then "Test assign 1" "link" should exist in the "Timeline" "block" And I should see "Assignment is due · Course 1" in the "Timeline" "block" @@ -63,6 +65,7 @@ Feature: The timeline block allows users to see upcoming activities And "Test choice 3" "link" should not exist in the "Timeline" "block" And "Test feedback 3" "link" should not exist in the "Timeline" "block" And "Test feedback 4" "link" should not exist in the "Timeline" "block" + And the "Timeline" "block" should meet accessibility standards with "best-practice" extra tests Scenario: All in date view Given I log in as "student1"