Then the list item "An active item" should be active

A list group item is active (.active, aria-current) or disabled (.disabled, aria-disabled, the disabled attribute), or not. The item is named by its text, without its badge.

Examples

Then the list item "An active item" should be active
Then the list item "A disabled item" should be disabled
Then the list item "A second item" should not be active
Then the list item "A second link item" should not be disabled
Then the list item "Account settings" should be active

Pattern

Then(/^the list item "([^"]*)" should( not)? be (active|disabled)$/, …)

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