When I discard the unsaved changes

Discard the unsaved changes of the edit form with the "Discard" button of their notice.

Examples

When I discard the unsaved changes
When we discard the unsaved changes
And I discard the unsaved changes
And we discard the unsaved changes
Then I discard the unsaved changes

Pattern

When(/^(I |we )*discard the unsaved changes$/, …)

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