From c8d7affbb52c8f38c6d64c083ae12f8e666969ff Mon Sep 17 00:00:00 2001 From: Jake Dallimore Date: Tue, 28 Feb 2017 10:19:28 +0800 Subject: [PATCH] MDL-35980 behat: fix link text in submission_comments feature --- mod/assign/tests/behat/submission_comments.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/assign/tests/behat/submission_comments.feature b/mod/assign/tests/behat/submission_comments.feature index 9e264607185..1c4e1fd514c 100644 --- a/mod/assign/tests/behat/submission_comments.feature +++ b/mod/assign/tests/behat/submission_comments.feature @@ -33,7 +33,7 @@ Feature: In an assignment, students can comment in their submissions And I follow "Save comment" Then I should see "First student comment" And the field "content" matches value "Add a comment..." - And I follow "Delete this comment" + And I click on "Delete comment posted by Student 1" "link" # Wait for the animation to finish. And I wait "2" seconds And I set the field "content" to "Second student comment"