Problem/Motivation

Automated tests must cover as much as possible features in Anu LMS to avoid bugs during development of new features.

Acceptance criteria

  • Test covers creation of courses page with one or several course categories selected
  • Test covers linear progress of courses
  • Test covers sorting of courses within a category

Tech concept

  • Add course category "Animals" and "People"
  • Create 3 Courses (Birds, Fishes and Snakes) with Animals category
  • Create 2 Courses (British, England) with People category
  • Create Courses page with 1 Category "People"
  • Hit Save and make sure that it sidplays properly
  • Hit Edit and add 2nd Category "Animals" to there, save it and make sure 2nd Category is appeared there
  • Edit again and change order for Categories (order: Animals, People), hit Save and make sure that changes were applied.
  • Set linear progress for "Animals" category and make sure it affects Courses page.

Issue fork anu_lms-3308596

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

beloglazov91 created an issue. See original summary.

beloglazov91’s picture

Assigned: beloglazov91 » Unassigned
Status: Active » Needs review

spleshka’s picture

Status: Needs review » Needs work

Please, don't forget to update CHANGELOG as well.

beloglazov91’s picture

Status: Needs work » Needs review

spleshka’s picture

Status: Needs review » Fixed

Woohoo, more tests! Love it, merged :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.