Then the "Inbox" button should show the badge "99+"

A button, a link, a heading, a list item or a tab shows a badge with a text (its visible text, not the words it has for screen readers only), or with "not" does not. The element is named by its own text, without the badge ("Inbox" for a button that reads "Inbox 99+").

Examples

Then the "Inbox" button should show the badge "99+"
Then the "Notifications" button should show the badge "4"
Then the "Example heading" heading should show the badge "New"
Then the "Inbox messages" list item should show the badge "14"
Then the "Archive" button should not show the badge "1"

Pattern

Then(/^the "([^"]*)" (button|link|heading|list item|tab) should( not)? show the badge "([^"]*)"$/, …)

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