When I mark all notifications as read

Mark every notification of the drawer as read, or clear the drawer (its actions at the top), and wait for the answer.

Examples

When I mark all notifications as read
When I clear the notifications drawer
And we mark all notifications as read
And we clear the notifications drawer
Then I clear the notifications drawer

Pattern

When(/^(I |we )*(mark all notifications as read|clear the notifications drawer)$/, …)

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