Switch the view of the index: a table, cards, or the structure of a structure section.
Examples
When I switch the index to the "cards" view
When I switch the index to the "table" view
When we switch the index to the "cards" view
And I switch the index to the "structure" view
When we switch the index to the "table" view
Pattern
When(/^(I |we )*switch the index to the "(table|cards|structure|thumbs)" view$/, …)
Part of @webship-js/craft-cms-steps (github.com/webship/craft-cms-steps), a step pack for Webship-js 2.0.x.