Assert the author of a post of the topic on screen: the post by its number on the page (from 1), or the last one. The author is a handle of the users registry or a user name.
Examples
Then post 1 should be by "member"
Then the last post should be by "administrator"
And post 2 should be by "moderator"
Then the last post should be by "member"
And post 3 should be by "administrator"
Pattern
Then(/^(?:post (\d+)|the last post) should be by "([^"]*)"$/, …)
Part of @webship-js/phpbb-steps (github.com/webship/phpbb-steps), a step pack for Webship-js 2.0.x.