When I set the variable "region" to "north"

Set a variable of the open dashboard to one of its values, the way a person does: the variable's picker, then the value; wait for the address to carry it (var-<name>=<value>).

Examples

When I set the variable "region" to "north"
When we set the variable "region" to "east"
And I set the variable "region" to "south"
Given I set the variable "region" to "north"
When I set the variable "region" to "east"

Pattern

When(/^(?:I |we )?set the variable "([^"]*)" to "([^"]*)"$/, …)

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