Then the page should offer the "Replicate" action

Assert that the page offers an action at its top (directly or in its menu of actions), or does not.

Examples

Then the page should offer the "Replicate" action
Then the page should not offer the "Restore" action
And the page should offer the "Delete" action
Then the page should offer the "Export" action
But the page should not offer the "Force delete" action

Pattern

Then(/^the page should( not)* offer the "([^"]*)" action$/, …)

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