When I set the post title to "A new post"

Set the title of the post or page in the editor.

Examples

When I set the post title to "A new post"
When we set the page title to "About us"
And I set the post title to "Edited title"
When I set the page title to "Contact"
And we set the post title to "News"

Pattern

When(/^(I |we )*set the (post|page) title to "([^"]*)"$/, …)

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