Then I should see the administrator menu item "Content > Articles"

Assert an entry of the administrator sidebar menu is (or is not) in the menu, by its path from the top entry. The check looks at the menu markup, so a collapsed parent entry does not hide its children from it.

Examples

Then I should see the administrator menu item "Content > Articles"
Then I should see the administrator menu item "Components > Smart Search"
Then we should not see the administrator menu item "System > Global Configuration"
And I should see the admin menu item "Users > Access Levels"
Then should see the administrator menu item "Home Dashboard"

Pattern

Then(/^(I |we )*should( not)* see the admin(?:istrator)* menu item "([^"]*)?"$/, …)

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