mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-47497 qformats gift and xml: basic test of export.
Really, this is just to test the new behat setps, as much as anything. Note that the details of what is written to the export files is tested in the unit tests.
This commit is contained in:
parent
cb7db63b5d
commit
d7a2a11e67
@ -28,3 +28,9 @@ Feature: Test importing questions from GIFT format.
|
||||
And I should see "What's between orange and green in the spectrum?"
|
||||
When I press "Continue"
|
||||
Then I should see "colours"
|
||||
|
||||
# Now export again.
|
||||
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
|
@ -31,6 +31,12 @@ Feature: Test importing questions from Moodle XML format.
|
||||
Then I should see "Moodle acronym (False)"
|
||||
Then I should see "Moodle acronym (True)"
|
||||
|
||||
# Now export again.
|
||||
And I navigate to "Export" node in "Course administration > Question bank"
|
||||
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
|
||||
|
||||
@javascript @_file_upload
|
||||
Scenario: import some multiple choice questions from Moodle XML format
|
||||
When I navigate to "Import" node in "Course administration > Question bank"
|
Loading…
x
Reference in New Issue
Block a user