Skip to content

Commit

Permalink
Merge branch 'wip-mdl-48290' of https://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
danpoltawski committed Dec 4, 2014
2 parents 690a634 + a296ebf commit ddb483a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions question/format/gift/tests/behat/import_export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,8 @@ Feature: Test importing questions from GIFT format.
And I set the field "id_format_gift" to "1"
And I press "Export questions to file"
And following "click here" should download between "1550" and "1650" bytes
# If the download step is the last in the scenario then we can sometimes run
# into the situation where the download page causes a http redirect but behat
# has already conducted its reset (generating an error). By putting a logout
# step we avoid behat doing the reset until we are off that page.
And I log out
5 changes: 5 additions & 0 deletions question/format/xml/tests/behat/import_export.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ Feature: Test importing questions from Moodle XML format.
And I set the field "id_format_xml" to "1"
And I press "Export questions to file"
And following "click here" should download between "57000" and "58000" bytes
# If the download step is the last in the scenario then we can sometimes run
# into the situation where the download page causes a http redirect but behat
# has already conducted its reset (generating an error). By putting a logout
# step we avoid behat doing the reset until we are off that page.
And I log out

@javascript @_file_upload
Scenario: import some multiple choice questions from Moodle XML format
Expand Down

0 comments on commit ddb483a

Please sign in to comment.