-
Functional Test
-
Moodle 2.5
-
None
Test pre-requisites:
- One course in Moodle.
- Teacher access to it.
Test note:
- Ignore the numbers shown in the TOC block on the left of each chapter. The tests instructions below refer to the chapter titles and their relative positions.
Test steps:
- Login as teacher and access to the course.
- Turn edit on.
- In the "Settings" block, click on restore.
- Restore the backup http://tracker.moodle.org/secure/attachment/28265/test_book_for_qa_20120522.mbz. At the Destination stage, choose the current course. There is no need to modify other settings.
- Test: One book resource, with title "Test Book for QA".
- Access to the restored book.
- Test: It shows 4 chapters (1, 2, 3 & 4) and 2 subchapters (3A & 3B).
- Try moving "Chapter 1" down.
- Test: It goes down one position (now shown after "Chapter 2")
- Try moving "Chapter 1" down again.
- Test: It goes down two positions (now shown after "Subchapter 3B").
- Try moving "Chapter 3" down.
- Test: It goes down one position (now shown after "Chapter 1") and its subchapters have been moved together with it (they should still be positioned after "Chapter 3").
- Try moving "Subchapter 1" down.
- Test: It goes down 1 position (now shown after "Subchapter 3B").
- Try moving "Subchapter 1" down again.
- Test: It goes down 1 position (now shown after "Chapter 4").