Then the alert "Holy guacamole!" should be dismissible

An alert has a close button (data-bs-dismiss="alert"), or with "not" has none.

Examples

Then the alert "Holy guacamole!" should be dismissible
Then the alert "A simple primary alert" should not be dismissible
Then the alert "Well done!" should not be dismissible
Then the alert "Our office is closed on Friday." should be dismissible
Then the alert "Nice, you triggered this alert message!" should be dismissible

Pattern

Then(/^the alert "([^"]*)" should( not)? be dismissible$/, …)

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