From f2a6427854d2f26f1443549c3f98bc84a367d09b Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Tue, 14 Oct 2014 15:10:59 +0100 Subject: [PATCH] MDL-47588 question behat tests: don't close the preview window. If you do. Chrome + Selenium2 gets stuck (on Windows at least). Selenium must be trying to send commands ot a window that does not exist any more. --- question/tests/behat/edit_questions.feature | 1 - question/tests/behat/preview_question.feature | 1 - 2 files changed, 2 deletions(-) diff --git a/question/tests/behat/edit_questions.feature b/question/tests/behat/edit_questions.feature index 45d38820a35..1b40094e1ef 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 63669e646a0..5efbd89a4b2 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 "Answer:" field should match "2" value - And I press "Close preview" And I switch to the main window