From 8ffe8740595a9d14bbbbe3772eb52695e5cfa7b4 Mon Sep 17 00:00:00 2001 From: Tim Hunt Date: Thu, 21 May 2015 15:54:54 +0100 Subject: [PATCH] MDL-47494 ddwtos: Fix behat failures. --- question/type/ddwtos/tests/behat/preview.feature | 3 +++ 1 file changed, 3 insertions(+) diff --git a/question/type/ddwtos/tests/behat/preview.feature b/question/type/ddwtos/tests/behat/preview.feature index 64e7792f399..3469f6dcb55 100644 --- a/question/type/ddwtos/tests/behat/preview.feature +++ b/question/type/ddwtos/tests/behat/preview.feature @@ -34,6 +34,7 @@ Feature: Preview a drag-drop into text question And I press "Submit and finish" Then the state of "The" question is shown as "Partially correct" And I should see "Mark 0.67 out of 1.00" + And I switch to the main window @javascript Scenario: Preview a question using the keyboard & submit incomplete. @@ -45,6 +46,7 @@ Feature: Preview a drag-drop into text question And I press "Save" Then the state of "The" question is shown as "Incomplete answer" And I should see "Please put an answer in each box." + And I switch to the main window @javascript Scenario: Preview a question using the keyboard. @@ -56,3 +58,4 @@ Feature: Preview a drag-drop into text question And I press "Submit and finish" Then the state of "The" question is shown as "Incorrect" And I should see "Mark 0.00 out of 1.00" + And I switch to the main window