From 8d892b1d4047768abf795161b79f28cbf42c5a71 Mon Sep 17 00:00:00 2001 From: rajesh Taneja Date: Fri, 25 Sep 2015 11:44:39 +0800 Subject: [PATCH] MDL-51555 behat: Added @_switch_window tag DND question types use switch window and the tag was not added, so it was failing for phantomjs Added tag to avoid phantomjs failures --- question/type/ddimageortext/tests/behat/preview.feature | 2 +- question/type/ddmarker/tests/behat/preview.feature | 2 +- question/type/ddwtos/tests/behat/preview.feature | 2 +- question/type/gapselect/tests/behat/basic_test.feature | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/question/type/ddimageortext/tests/behat/preview.feature b/question/type/ddimageortext/tests/behat/preview.feature index 014cb540b1d..5fd1d317db2 100644 --- a/question/type/ddimageortext/tests/behat/preview.feature +++ b/question/type/ddimageortext/tests/behat/preview.feature @@ -1,4 +1,4 @@ -@qtype @qtype_ddimageortext +@qtype @qtype_ddimageortext @_switch_window Feature: Preview a drag-drop onto image question As a teacher In order to check my drag-drop onto image questions will work for students diff --git a/question/type/ddmarker/tests/behat/preview.feature b/question/type/ddmarker/tests/behat/preview.feature index 48b71b59288..e6a52d93d6e 100644 --- a/question/type/ddmarker/tests/behat/preview.feature +++ b/question/type/ddmarker/tests/behat/preview.feature @@ -1,4 +1,4 @@ -@qtype @qtype_ddmarker +@qtype @qtype_ddmarker @_switch_window Feature: Preview a drag-drop onto image question As a teacher In order to check my drag-drop onto image questions will work for students diff --git a/question/type/ddwtos/tests/behat/preview.feature b/question/type/ddwtos/tests/behat/preview.feature index 3731fbeb7bb..7e09774aaf4 100644 --- a/question/type/ddwtos/tests/behat/preview.feature +++ b/question/type/ddwtos/tests/behat/preview.feature @@ -1,4 +1,4 @@ -@qtype @qtype_ddwtos +@qtype @qtype_ddwtos @_switch_window Feature: Preview a drag-drop into text question As a teacher In order to check my drag-drop into text questions will work for students diff --git a/question/type/gapselect/tests/behat/basic_test.feature b/question/type/gapselect/tests/behat/basic_test.feature index bd32c95650d..dc095020a96 100644 --- a/question/type/gapselect/tests/behat/basic_test.feature +++ b/question/type/gapselect/tests/behat/basic_test.feature @@ -1,4 +1,4 @@ -@qtype @qtype_gapselect +@qtype @qtype_gapselect @_switch_window Feature: Test all the basic functionality of this question type In order to evaluate students responses, As a teacher I need to create and preview gapselect (Select missing words) questions.