MDL-47710 qformat_gift: fix bahat fails due to different ids in exports
authorTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 16 Oct 2014 10:00:32 +0000 (11:00 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Thu, 16 Oct 2014 10:00:32 +0000 (11:00 +0100)
question/format/gift/tests/behat/import_export.feature

index ccd49af..a458b01 100644 (file)
@@ -33,4 +33,4 @@ Feature: Test importing questions from GIFT format.
     And I navigate to "Export" node in "Course administration > Question bank"
     And I set the field "id_format_gift" to "1"
     And I press "Export questions to file"
     And I navigate to "Export" node in "Course administration > Question bank"
     And I set the field "id_format_gift" to "1"
     And I press "Export questions to file"
-    And following "click here" should download "1624" bytes
+    And following "click here" should download between "1550" and "1650" bytes