MDL-49973 behat: Fixed string change from Continue to Delete
authorrajesh Taneja <rajesh@moodle.com>
Thu, 24 Sep 2015 02:24:36 +0000 (10:24 +0800)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 24 Sep 2015 13:38:20 +0000 (15:38 +0200)
question/tests/behat/delete_questions.feature

index 7fb6740..1db10f0 100644 (file)
@@ -27,7 +27,7 @@ Feature: A teacher can delete questions in the question bank
   @javascript
   Scenario: A question not used anywhere can really be deleted
     When I click on "Delete" "link" in the "Test question to be deleted" "table_row"
-    And I press "Continue"
+    And I press "Delete"
     And I click on "Also show old questions" "checkbox"
     Then I should not see "Test question to be deleted"
 
@@ -48,7 +48,7 @@ Feature: A teacher can delete questions in the question bank
       | Question text | Write about whatever you want    |
     And I navigate to "Questions" node in "Course administration > Question bank"
     When I click on "Delete" "link" in the "Test used question to be deleted" "table_row"
-    And I press "Continue"
+    And I press "Delete"
     Then I should not see "Test used question to be deleted"
     And I click on "Also show old questions" "checkbox"
     And I should see "Test used question to be deleted"