diff --git a/mod/lesson/tests/behat/teacher_grade_essays.feature b/mod/lesson/tests/behat/teacher_grade_essays.feature index 3561de3b9bf..b95d41c420f 100644 --- a/mod/lesson/tests/behat/teacher_grade_essays.feature +++ b/mod/lesson/tests/behat/teacher_grade_essays.feature @@ -47,7 +47,7 @@ Feature: In a lesson activity, a non editing teacher can grade essay questions And I follow "Grade essays" And I should see "Student 1" 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: