Then the notifications drawer should list "New order"

Assert that the notifications drawer lists a notification (by its title, or its body), or is empty.

Examples

Then the notifications drawer should list "New order"
Then the notifications drawer should be empty
And the notifications drawer should not list "New order"
Then the notifications drawer should list "New comment"
And the notifications drawer should be empty

Pattern

Then(/^the notifications drawer should(?:( not)* list "([^"]*)"| (be empty))$/, …)

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