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
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
Comment #2
beloglazov91Comment #4
spleshkaPlease, don't forget to update CHANGELOG as well.
Comment #5
beloglazov91Comment #7
spleshkaWoohoo, more tests! Love it, merged :)