When "editor" closes the file

Close the file another account opened (its page closes): it leaves the people of the file.

Examples

When "editor" closes the file
When "admin" closes the file
And "editor" closes the file
When "viewer" closes the file
Then "editor" closes the file

Pattern

When(/^"([^"]*)" closes the file$/, …)

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