-
Functional Test
-
Blocker
-
Moodle 2.8
-
None
Test pre-requisites:
- One course in Moodle.
- Teacher access to it.
Test steps:
- Login as teacher and acces 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 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).
- Click on the "eye" icon both in "Chapter 1" and "Chapter 3".
- Test: There are 4 items dimmed: "Chapter 1", "Chapter 3", "Subchapter 3A" and "Subchapter 3B".
- Turn edit off.
- Test: Only 2 items are visible: "Chapter 2" and "Chapter 4".
- Test: Navigation (left and right arrows) only allow to navigate between those 2 chapters.