Fix steps in test.
authorDan Marsden <dan@danmarsden.com>
Thu, 9 Mar 2017 00:59:58 +0000 (13:59 +1300)
committerDan Marsden <dan@danmarsden.com>
Thu, 9 Mar 2017 00:59:58 +0000 (13:59 +1300)
tests/behat/defaultstatus.feature

index c7e89c8..34a0665 100644 (file)
@@ -26,7 +26,6 @@ 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 press "Save and display"
-    And I should see "Attendance1"
+    And I follow "Attendance1"
     And I follow "Status set"
     Then I should see "customstatusdescription"
\ No newline at end of file