Then the course "Webship Testing Basics" of the list should read "2 Lessons"

The row of a course in the course list reads a text: its instructor ("by Instructor Test"), its counts ("2 Lessons", "1 Student"), its price ("Free").

Examples

Then the course "Webship Testing Basics" of the list should read "2 Lessons"
Then the course "Webship Testing Basics" of the list should read "1 Student"
Then the course "Webship Advanced Testing" of the list should read "Free"
And the course "Webship Advanced Testing" of the list should read "by Instructor Test"
And the course "Webship Testing Basics" of the list should not read "0 Students"

Pattern

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

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