When I discard the composer

Discard what the composer holds (the forum asks to confirm; the draft goes too).

            Then the composer should be closed
            Then there should be no topic "A draft that is never posted"

Examples

When I discard the composer
When we discard the composer
And I discard the composer
When we discard the composer
When I discard the composer

Pattern

When(/^(?:I|we) discard the composer$/, …)

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