Then the activity "Course handbook" should require "View"

Assert that an activity lists a completion condition, as the course page writes it ("View", "Make a submission", "Receive a grade").

Examples

Then the activity "Course handbook" should require "View"
Then the activity "Testing diary" should require "Make a submission"
And the activity "Basics quiz" should require "Receive a grade"
Then the activity "Testing diary" should require "Make a submission"
And the activity "Course handbook" should require "View"

Pattern

Then(/^the activity "([^"]*)" should require "([^"]*)"$/, …)

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