When I delete the content item I am viewing

Delete the content item being viewed through its own delete form (/node/<nid>/delete), reading the node id from the page's links. Keeps a content-creation scenario repeatable across runs.

Examples

When I delete the content item I am viewing
And I delete the node I am viewing
When we delete the content item we are viewing
And we delete the node we are viewing
Then I delete the content item I am viewing

Pattern

When(/^(I |we )*delete the (?:content item|node) (?:I am|we are) viewing$/, …)

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