From 7a5669557c834d11c4d0df734cca1c735a871570 Mon Sep 17 00:00:00 2001 From: Damyon Wiese Date: Thu, 7 Feb 2019 09:33:52 +0800 Subject: [PATCH] MDL-64377 assign: Behat test fix The behat assumed that after editing a submission, the next page would be the assignment front page even though we were previously on the "view all submissions" page. The extra step to go back to the "view all submissions" page is no longer needed so has been removed. --- mod/assign/tests/behat/edit_student_submission.feature | 2 -- 1 file changed, 2 deletions(-) diff --git a/mod/assign/tests/behat/edit_student_submission.feature b/mod/assign/tests/behat/edit_student_submission.feature index b3d1615e3d5..05fc2f99f50 100644 --- a/mod/assign/tests/behat/edit_student_submission.feature +++ b/mod/assign/tests/behat/edit_student_submission.feature @@ -39,12 +39,10 @@ Feature: In an assignment, the administrator can edit students' submissions And I set the following fields to these values: | Online text | Have you seen the movie Chef? | And I press "Save changes" - And I navigate to "View all submissions" in current page administration Then I should see "Have you seen the movie Chef?" And I open the action menu in "Student 1" "table_row" And I choose "Edit submission" in the open action menu And I set the following fields to these values: | Online text | I have seen the movie chef. | And I press "Save changes" - And I navigate to "View all submissions" in current page administration Then I should see "I have seen the movie chef." -- 2.43.0