MDL-51555 behat: Added @_switch_window tag
authorrajesh Taneja <rajesh@moodle.com>
Fri, 25 Sep 2015 03:44:39 +0000 (11:44 +0800)
committerrajesh Taneja <rajesh@moodle.com>
Fri, 25 Sep 2015 03:53:03 +0000 (11:53 +0800)
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
question/type/ddmarker/tests/behat/preview.feature
question/type/ddwtos/tests/behat/preview.feature
question/type/gapselect/tests/behat/basic_test.feature

index 014cb54..5fd1d31 100644 (file)
@@ -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
index 48b71b5..e6a52d9 100644 (file)
@@ -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
index 3731fbe..7e09774 100644 (file)
@@ -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
index bd32c95..dc09502 100644 (file)
@@ -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.