Use correct action for button in test.
authorDan Marsden <dan@danmarsden.com>
Wed, 8 Mar 2017 23:51:59 +0000 (12:51 +1300)
committerDan Marsden <dan@danmarsden.com>
Wed, 8 Mar 2017 23:51:59 +0000 (12:51 +1300)
tests/behat/defaultstatus.feature

index ef0176e..c7e89c8 100644 (file)
@@ -26,7 +26,7 @@ Feature: Admin can set default status set for use in new attendance
     And I turn editing mode on
     And I add a "Attendance" to section "1" and I fill the form with:
       | Name        | Attendance1       |
-    And I click on "Save and display"
+    And I press "Save and display"
     And I should see "Attendance1"
     And I follow "Status set"
     Then I should see "customstatusdescription"
\ No newline at end of file