MDL-69391 behat: Grammar correction in feature
authorAndrew Nicols <andrew@nicols.co.uk>
Thu, 3 Sep 2020 03:34:47 +0000 (11:34 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 3 Sep 2020 03:34:47 +0000 (11:34 +0800)
auth/tests/behat/login.feature
calendar/tests/behat/calendar.feature

index 087ac3f..b8af8a3 100644 (file)
@@ -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
index 7b7c8ac..9fc33df 100644 (file)
@@ -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