From f558127d0e032c18b40bef4750bc0ac7ada7cd5a Mon Sep 17 00:00:00 2001 From: Andrew Nicols Date: Thu, 3 Sep 2020 11:34:47 +0800 Subject: [PATCH] MDL-69391 behat: Grammar correction in feature --- auth/tests/behat/login.feature | 4 ++-- calendar/tests/behat/calendar.feature | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/auth/tests/behat/login.feature b/auth/tests/behat/login.feature index 087ac3f164e..b8af8a33d1a 100644 --- a/auth/tests/behat/login.feature +++ b/auth/tests/behat/login.feature @@ -73,6 +73,6 @@ Feature: Authentication 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 + When I am on site homepage + Then the page should meet "wcag143" accessibility standards And the page should meet accessibility standards with "wcag143" extra tests diff --git a/calendar/tests/behat/calendar.feature b/calendar/tests/behat/calendar.feature index 7b7c8acb7f5..9fc33df2c30 100644 --- a/calendar/tests/behat/calendar.feature +++ b/calendar/tests/behat/calendar.feature @@ -241,9 +241,9 @@ Feature: Perform basic calendar functionality @javascript @accessibility Scenario: The calendar page must be accessible - And I log in as "student1" + Given I log in as "student1" And I am on "Course 1" course homepage - And I follow "This month" + When 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