Set the dialog mode of the consent manager and save its settings. This changes the site's configuration: set it back at the end of the scenario.
Examples
When I set the consent dialog mode to "silent"
And I set the consent dialog mode to "notice"
When we set the consent dialog mode to "notice_modal"
And we set the consent dialog mode to "manager"
When I set the consent dialog mode to "Notice dialog"
Pattern
When(/^(I |we )*set the consent dialog mode to "([^"]*)"$/, …)
Part of @webship-js/drupal-cms-steps (github.com/webship/drupal-cms-steps), a step pack for Webship-js 2.0.x.