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

A teacher can show and hide book chapters and subchapters

    XMLWordPrintable

Details

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

    Description

       

      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 Don't modify any setting, just use default ones.
      5. Verify that a book resource is created, with title "Test Book for QA".
      6. Verify that there are 4 chapters (1, 2, 3 & 4) and 2 subchapters (3A & 3B).
      7. Click on the "eye" icon to hide "Chapter 1" and "Chapter 3".
      8. Verify that there are 4 items dimmed: "Chapter 1", "Chapter 3", "Subchapter 3A" and "Subchapter 3B".
      9. Turn editing off.
      10. Verify that only 2 items are visible: "Chapter 2" and "Chapter 4".
      11. Verify that the navigation (left and right arrows) only allows you to navigate between those 2 chapters.

      Attachments

        Issue Links

          Activity

            People

              nobody Nobody
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: