MDL-47494 ddimageortext: Improve the drag-drop question Behat tests.
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 13 Feb 2015 17:38:38 +0000 (17:38 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 13 Feb 2015 17:38:38 +0000 (17:38 +0000)
commit42865c8448e9fb07173bdc12540d928ff993f756
tree7be9615efa9d93feb96782058e55983c0a000599
parent145f46ed2883374eedbe28db6082bcf517cbdf48
MDL-47494 ddimageortext: Improve the drag-drop question Behat tests.

* Added tests for previewing the question, to make sure it works when
attempted.
* Added Moodle XML export tests.
* Reorganised the tests to follow the 'Test one thing per scenario' best
practice.

This commit requires MDL-49154 to work.
question/type/ddimageortext/tests/behat/add.feature [new file with mode: 0644]
question/type/ddimageortext/tests/behat/backup_and_restore.feature [new file with mode: 0644]
question/type/ddimageortext/tests/behat/basic_test.feature [deleted file]
question/type/ddimageortext/tests/behat/behat_qtype_ddimageortext.php [new file with mode: 0644]
question/type/ddimageortext/tests/behat/edit.feature [new file with mode: 0644]
question/type/ddimageortext/tests/behat/export.feature [new file with mode: 0644]
question/type/ddimageortext/tests/behat/import.feature [moved from question/type/ddimageortext/tests/behat/import_test.feature with 70% similarity]
question/type/ddimageortext/tests/behat/preview.feature [new file with mode: 0644]
question/type/ddimageortext/tests/helper.php