When I edit post 1

Open the edit form of a post of the page, by its number or the last one.

Examples

When I edit post 1
And I edit the last post
When we edit post 2
When I edit post 3
And we edit the last post

Pattern

When(/^(I |we )*edit (?:post (\d+)|the last post)$/, …)

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