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

A teacher can create book chapters and subchapters

XMLWordPrintable

    • Icon: Functional Test Functional Test
    • Icon: Blocker Blocker
    • None
    • Moodle QA non-runners
    • Book
    • None

      Test pre-requisites:

      • One course in Moodle.
      • Teacher access to it.

      Test steps:

      1. Login as teacher and acces to the course.
      2. Turn edit on.
      3. Add one "book" resource, default settings, just set the name and the description.
      4. Click the "Save and display" button.
      5. Test: One "Add new chapter" form is shown.
      6. Fill the chapter title and some content, ideally embedding some image and using some formatting (bolds, lists...).
      7. Click the "Save changes" button.
      8. Test: On the left, the "Table of contents" block is shown. It has one entry with the chapter title just created (surely, but not critical), with "1" before the title.
      9. Test: On the right, the title is shown with the contents below, showing the image and formating as originally introduced.
      10. Click the plus icon in the TOC block. Introduce one new title and content. Save changes.
      11. Test: The TOC block shows 2 entries, numbered "1" and "2".
      12. Test: On the right, the 2nd chapter title and its contents is shown.
      13. Click the plus icon in the TOC block for the first title. Introduce one new title and content and tick the "Subchapter" checkbox.
      14. Test: The TOC block shows 3 entries, numbered "1", "1.1" and "2".
      15. Test: On the right both the "1" title and the "1.1" title is shown. And then, the contents as introduced.
      16. Test: By clicking on the "left" and "right" arrows, you can navigate between the 3 chapters. Current chapter is always shown bold in the TOC block.

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

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.