MDL-47494 ddwtos: Improve the drag-drop question Behat tests.
commite200e47fe66d74a23c9c6899d908fdbeda772447
authorTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 13 Feb 2015 17:34:07 +0000 (13 17:34 +0000)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Fri, 13 Feb 2015 17:34:07 +0000 (13 17:34 +0000)
tree3115eb2ad4c9f973702a64e5971ce633e2fb060c
parenta9c32a6fea40f91aa16af88415663659adec338d
MDL-47494 ddwtos: 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/ddwtos/tests/behat/add.feature [new file with mode: 0644]
question/type/ddwtos/tests/behat/backup_and_restore.feature [new file with mode: 0644]
question/type/ddwtos/tests/behat/basic_test.feature [deleted file]
question/type/ddwtos/tests/behat/behat_qtype_ddwtos.php [new file with mode: 0644]
question/type/ddwtos/tests/behat/edit.feature [new file with mode: 0644]
question/type/ddwtos/tests/behat/export.feature [new file with mode: 0644]
question/type/ddwtos/tests/behat/import.feature [moved from question/type/ddwtos/tests/behat/import_test.feature with 73% similarity]
question/type/ddwtos/tests/behat/preview.feature [new file with mode: 0644]
question/type/ddwtos/tests/helper.php