When I switch the search results to the list view

Switch the results of the issue search between the list view (a table) and the detail view (a list next to the selected issue).

Examples

When I switch the search results to the list view
When I switch the search results to the detail view
When we switch the search results to the list view
And I switch the search results to the detail view
And we switch the search results to the list view

Pattern

When(/^(I |we )*switch the search results to the (list|detail) view$/, …)

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