Then post 1 should be by "keymaster"

Assert who wrote a post of the page, by its number on the page (1 is the topic's own post on the first page) or the last one.

Examples

Then post 1 should be by "keymaster"
And post 2 should be by "participant"
Then the last post should be by "moderator"
Then post 3 should be by "moderator"
And the last post should be by "participant"

Pattern

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

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