diff --git a/question/tests/behat/edit_questions.feature b/question/tests/behat/edit_questions.feature index e9f3987be59..b5269bd802c 100644 --- a/question/tests/behat/edit_questions.feature +++ b/question/tests/behat/edit_questions.feature @@ -40,5 +40,4 @@ Feature: A teacher can edit questions in the question bank And I switch to "questionpreview" window And I should see "Edited question name" And I should see "Write a lot about what you want" - And I press "Close preview" And I switch to the main window diff --git a/question/tests/behat/preview_question.feature b/question/tests/behat/preview_question.feature index 45ad854fb09..1065fb357b4 100644 --- a/question/tests/behat/preview_question.feature +++ b/question/tests/behat/preview_question.feature @@ -42,5 +42,4 @@ Feature: A teacher can preview questions in the question bank And I press "Start again" And I press "Fill in correct responses" And the field "Answer:" matches value "2" - And I press "Close preview" And I switch to the main window