Skip to content

Draft: Cypress tests for OEN feature

Bela Toci requested to merge oen_cypress_test into master

This MR will include the test cases described in Issue #550

  • Add a new book In textbook planner
  • check welcome message
  • click Cancel/Start

In step 1-Determine Hierarchy

  • check the message
  • check that "Chapters and Sections" is the default selection
  • choose "Parts, Chapters and Sections"
  • check "warning message"
  • click Yes and that the selection was changed

In step 2-Outline Content

  • check the information message on top
  • add title for each element
  • add structural parts
  • clone/remove elements
  • check that Remove is disabled when there is only one element of a kind

In Step 3-Add Pedagogical Elements

  • check the information message on top
  • add and remove elements

In Step 4-Review textbook

  • check the information message on top

  • type titles

  • clone/remove elements

  • check that Remove is disabled when there is only one element of a kind

  • Check navigation by clicking Back/Next buttons in the navigation bar at the bottom

  • Click Build book

  • Check confirmation message

  • Click cancel/yes and confirm that the book was built when clicking Yes

  1. In the Editor, add checks for
  • Openers,
  • Openers and Closers,
  • Closers,
  • Short boxes,
  • Long boxes

Merge request reports