try to fix behat tests.
authorDan Marsden <dan@danmarsden.com>
Wed, 16 Nov 2016 09:27:47 +0000 (22:27 +1300)
committerDan Marsden <dan@danmarsden.com>
Wed, 16 Nov 2016 09:27:47 +0000 (22:27 +1300)
tests/behat/calendar_features.feature
tests/behat/preferences.feature

index 8dbe24e..d325233 100644 (file)
@@ -30,9 +30,9 @@ Feature: Test the calendar related features in the attendance module
       | id_sestime_endhour   | 02 |
     And I click on "id_submitbutton" "button"
     And I follow "Course 1"
-    And I follow "Calendar"
+    And I follow "This month"
     Then I should see "Test attendance"
     And I log out
     And I log in as "student1"
-    And I follow "Calendar"
+    And I follow "This month"
     Then I should see "Test attendance"
\ No newline at end of file
index 941c287..623adb4 100644 (file)
@@ -20,8 +20,9 @@ Feature: Teachers can't change status variables to have empty acronyms or descri
         And I follow "Course 1"
         And I turn editing mode on
         And I add a "Attendance" to section "1" and I fill the form with:
-            | Name        | Attendance       |
-        And I follow "Settings"
+            | Name        | Attendancepreftest       |
+        And I follow "Attendancepreftest"
+        And I follow "Edit settings"
 
     @javascript
     Scenario: Teachers can add status variables