Then the "View" page of the record should be the current one

Assert which page of the record's sub-navigation is on screen.

Examples

Then the "View" page of the record should be the current one
Then the "Edit" page of the record should be the current one
And the "Comments" page of the record should be the current one
Then the "View" page of the record should be the current one
And the "Edit" page of the record should be the current one

Pattern

Then(/^the "([^"]*)" page of the record should be the current one$/, …)

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