Then the category "Test courses" should list the course "Software Testing 101"

Assert that a category of course management lists, or does not list, a course by its full name.

Examples

Then the category "Test courses" should list the course "Software Testing 101"
Then the category "Test courses" should not list the course "Throwaway course"
And the category "Test courses" should list the course "Throwaway course"
Then the category "Category 1" should not list the course "Software Testing 101"
But the category "Test courses" should not list the course "Throwaway course"

Pattern

Then(/^the category "([^"]*)" should( not)* list the course "([^"]*)"$/, …)

Part of @webship-js/moodle-steps (github.com/webship/moodle-steps), a step pack for Webship-js 2.0.x.