When I type "wa" in the "Assigned to" search list and choose "Wade Cooper"

Type in a search list, wait for its options, choose one, and wait until they are gone and the list shows the choice.

Examples

When I type "wa" in the "Assigned to" search list and choose "Wade Cooper"
And we type "Tom" in the "Assigned to" search list and choose "Tom Cook"
When I type "jor" in the "Country" search list and choose "Jordan"
And I type "dev" in the "Assigned to" search list and choose "Devon Webb"
When we type "can" in the "Country" search list and choose "Canada"

Pattern

When(/^(?:I |we )?type "([^"]*)" in the "([^"]*)" search list and choose "([^"]*)"$/, …)

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