Then the notifications button should show 1 unread

Assert the number of unread notifications the panel shows on its notifications button.

Examples

Then the notifications button should show 1 unread
Then the notifications button should show 0 unread
And the notifications button should show 2 unread
Then the notifications button should show 1 unread
And the notifications button should show 0 unread

Pattern

Then(/^the notifications button should show (\d+) unread$/, …)

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