Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-5249 QA tests converted to behat
  3. MDLQA-2425

A teacher can reorganize book chapters and subchapters

    XMLWordPrintable

Details

    • Functional Test
    • Status: Open
    • Critical
    • Moodle QA non-runners
    • None
    • Book, Teacher
    • None

    Description

      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.
      1. Log in as teacher and access a course.
      2. Turn editing on.
      3. Follow the restore link either via the gear menu or the Administration block, depending upon your theme.
      4. Restore the backup http://tracker.moodle.org/secure/attachment/28265/test_book_for_qa_20120522.mbz
      5. Verify that the restored book has 4 chapters (1, 2, 3 & 4) and 2 subchapters (3A & 3B).
      6. Try moving "Chapter 1" down.
      7. Verify that it goes down one position (now shown after "Chapter 2")
      8. Try moving "Chapter 1" down again.
      9. Verify that it goes down two positions (now shown after "Subchapter 3B").
      10. Try moving "Chapter 3" down.
      11. Verify that 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").
      12. Try moving "Subchapter 3A" down.
      13. Verify that it goes down 1 position (now shown after "Subchapter 3B").
      14. Try moving "Subchapter 3A" down again.
      15. Verify that it goes down 1 position (now shown after "Chapter 4" as a subchapter).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: