When I switch the issue search to the advanced mode

Switch the issue search between its basic mode (the criteria buttons) and its advanced mode (the query box).

Examples

When I switch the issue search to the advanced mode
When I switch the issue search to the basic mode
When we switch the issue search to the advanced mode
And I switch the issue search to the basic mode
And we switch the issue search to the advanced mode

Pattern

When(/^(I |we )*switch the issue search to the (basic|advanced) mode$/, …)

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