When I view the post

Open the post or page that was last saved in the editor, on the public site, through its ?p= address (which follows the permalink).

Examples

When I view the post
When we view the page
And I view the post
When I view the page
And we view the post

Pattern

When(/^(I |we )*view the (post|page)$/, …)

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