When I close the announcement bar

Close the announcement bar with its close button, and wait until it is gone.

Examples

When I close the announcement bar
And I close the announcement bar
When we close the announcement bar
When close the announcement bar
Then I close the announcement bar

Pattern

When(/^(I |we )*close the announcement bar$/, …)

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