Then I should see the "Edit" operation for the "Sample article" content

Assert a row of an administration listing (content, people, media, files, taxonomy terms) offers, or does not offer, an operation link such as "Edit", "Delete" or "Translate". The row is found by text, the operation inside the row's operations cell (the Views headers*="operations" cell or the dropbutton), hidden dropbutton entries included. The trailing noun is cosmetic.

The negative form also holds when the row itself is absent: an operation cannot be seen on a row that is not listed, which is exactly how core hides entities a role may not act on.

Examples

Then I should see the "Edit" operation for the "Sample article" content
And I should see the "Delete" operation for the "Sample article" entity
Then we should not see the "Edit" operation for the "Sample article" content
And I should see the "Edit" operation for the "editor" user
Then I should see the "Edit" operation for the "Sample image" media

Pattern

Then(/^(I |we )*should( not)* see the "([^"]*)" operation for the "([^"]*)"(?: (?:entity|content|item|media|file|term|user|row))?$/, …)

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