Assert that the people working in the open file (their pictures at the top right) include an account, by its handle or its name, or do not.
Examples
Then the file should show "editor" among its users
Then the file should not show "editor" among its users
And the file should show "Owner Test" among its users
Then the file should show "admin" among its users
Then the file should not show "Editor Test" among its users
Pattern
Then(/^the file should( not)? show "([^"]*)" among its users$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.