From 01c2ca76c0c188207e0cc635acb3f17d6eaebdde 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 68a10815273..fad5d43a014 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"