Then the author of post 1 should be a "Keymaster"

Assert the forum role the forums print under the author of a post (Keymaster, Moderator, Participant, Spectator, Blocked).

Examples

Then the author of post 1 should be a "Keymaster"
And the author of post 2 should be a "Participant"
Then the author of the last post should be a "Moderator"
Then the author of post 3 should be a "Moderator"
And the author of the last post should be a "Participant"

Pattern

Then(/^the author of (?:post (\d+)|the last post) should be a "([^"]*)"$/, …)

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