Details
-
Functional Test
-
Status: Passed
-
Moodle 2.3
-
None
-
None
Description
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. All the tests below are about the chapter titles and they positions.
Test steps:
- Login as teacher and acces to the course.
- Turn edit on.
- In the "Settings" block, click on restore.
- Restore the attached activity backup (test_book_for_qa_20120522.mbz) into the course the user is teacher. Don't modify any setting, just use default ones.
- 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 three positions (now shown after "Subchapter 3B").
- Try moving "Chapter 3" down.
- Test: It goes down 1 position (now shown after "Chapter 1") and its subchapters have been moved together (they continue being 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").