From f47d844c68631af1e0912e1599a6a66c2a7f8a53 Mon Sep 17 00:00:00 2001 From: Rajesh Taneja Date: Wed, 13 May 2015 15:19:59 +0800 Subject: [PATCH] MDL-50203 behat: Click on link in student 1 row --- mod/lesson/tests/behat/teacher_grade_essays.feature | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mod/lesson/tests/behat/teacher_grade_essays.feature b/mod/lesson/tests/behat/teacher_grade_essays.feature index 1154795b855..5a9df9d3b11 100644 --- a/mod/lesson/tests/behat/teacher_grade_essays.feature +++ b/mod/lesson/tests/behat/teacher_grade_essays.feature @@ -71,7 +71,7 @@ Feature: In a lesson activity, a non editing teacher can grade essay questions And I should see "Student 1" And I should see "Student 2" And I should see "Essay question" - And I follow "Essay question" + And I click on "Essay question" "link" in the "Student 1" "table_row" And I should see "Student 1's response" And I should see "Once upon a time there was a little green frog." And I set the following fields to these values: @@ -86,4 +86,4 @@ Feature: In a lesson activity, a non editing teacher can grade essay questions And I should see "Student 2" And I should not see "Student 1" And I set the field "Separate groups" to "Group C" - And I should see "No one in Group C has answered an essay question yet." \ No newline at end of file + And I should see "No one in Group C has answered an essay question yet."