Then the "Features" menu item should be current

Assert the state of a top-level main navigation item. "current" is the link of the page being viewed, which the theme marks with aria-current="true". "active" is every link on the path to that page, which carries the active class: the page itself, its top-level ancestor and the start page.

Examples

Then the "Features" menu item should be current
And the "Customize" menu item should not be current
Then the "Pages" menu item should be active
And the "Customize" menu item should not be active
Then the "Content Examples" menu item should be active

Pattern

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

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