Then the work package should show the comment "Checked on the test site"

Assert that the activity of the open work package lists a comment holding the text, written by an account when it names one (its name as the site shows it).

Examples

Then the work package should show the comment "Checked on the test site"
Then the work package should show the comment "Checked on the test site" by "Member Test"
And the work package should show the comment "The script is in the project's repository"
Then the work package should show the comment "Ready for a review" by "Owner Test"
But the work package should show the comment "Done"

Pattern

Then(/^the work package should show the comment "([^"]*)"(?: by "([^"]*)")?$/, …)

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