Then the comment "Checked on the staging site." should be by "Alex Tester"

Assert the comment with the given text was written by the person with the given display name.

Examples

Then the comment "Checked on the staging site." should be by "Alex Tester"
Then the comment "Needs a second look" should be by "Sam Reporter"
And the comment "Thanks!" should be by "Site Administrator"
Then the comment "Checked on the staging site." should not be by "Sam Reporter"
And the comment "Done in the last release" should not be by "Alex Tester"

Pattern

Then(/^the comment "([^"]*)" should( not)* be by "([^"]*)"$/, …)

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