When I open the activity "Testing diary"

Open an activity of the scenario's course by its name, through its link on the course page.

Examples

When I open the activity "Testing diary"
When we open the activity "Basics quiz"
And I open the activity "Course handbook"
Given I open the activity "Class discussion"
When we open the activity "Announcements"

Pattern

When(/^(I |we )*open the activity "([^"]*)"$/, …)

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