When I close the lightbox

Close the open lightbox with its close button, and wait until it has left the page.

Examples

When I close the lightbox
When we close the lightbox
And I close the lightbox
Then I close the lightbox
When I close the lightbox

Pattern

When(/^(?:I |we )?close the lightbox$/, …)

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