Then the task should show the comment "Checked on the test site" by "Member Test"

The open task shows a comment with this text, by this person (their whole name) when the step names one.

Examples

Then the task should show the comment "Checked on the test site" by "Member Test"
Then the task should show the comment "Checked on the test site"
And the task should show the comment "Checked on the test site" by "Member Test"
But the task should show the comment "Checked on the test site"
Given the task should show the comment "Checked on the test site" by "Member Test"

Pattern

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

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