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."