From 5d7f4ff579807b245674bc2808d9d46cc9feab93 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Mon, 3 Apr 2017 11:05:03 -0500 Subject: [PATCH] Fix test trying exercise --- tests/behat/features/toolExercise.feature | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/behat/features/toolExercise.feature b/tests/behat/features/toolExercise.feature index b7e7cb3a7c..4f9d3fc7b7 100644 --- a/tests/behat/features/toolExercise.feature +++ b/tests/behat/features/toolExercise.feature @@ -243,43 +243,43 @@ Feature: Exercise tool Then I should see "Multiple choice" And I check the "Answer true" radio button And wait for the page to be loaded - Then I follow "Next question" + Then I press "Next question" # Question 2 And wait for the page to be loaded And I check the "Answer true" radio button And wait for the page to be loaded - Then I follow "Next question" + Then I press "Next question" # Question 3 Then I fill in the following: | choice_id_3_0 | Juliet | And wait for the page to be loaded - Then I follow "Next question" + Then I press "Next question" # Question 4 - Matching Then I select "A" from "choice_id_4_1" Then I select "B" from "choice_id_4_2" - Then I follow "Next question" + Then I press "Next question" # Question 5 - Open question #Then I fill in ckeditor field "" with "" Then wait for the page to be loaded - Then I follow "Next question" + Then I press "Next question" # Question 6 - Oral question Then wait for the page to be loaded - Then I follow "Next question" + Then I press "Next question" # Question 7 - Exact answers combination #Then I check radio button with label "Answer true" - Then I follow "Next question" + Then I press "Next question" # Question 8 - Unique answer with unknown #@todo - Then I follow "Next question" + Then I press "Next question" # Question 9 - Multiple answer true - false - dont know #@todo - Then I follow "Next question" + Then I press "Next question" # Question 10 - Combination true - false - don't-know #@todo - Then I follow "Next question" + Then I press "Next question" # Question 11 - Global multiple answer #Then I check radio button with label "Answer true" - Then I follow "End test" + Then I press "End test" Then I should see "Score for the test: 41 / 105" Scenario: Check exercise result