Invite an address to the team that is open, from its Invitations section: "Invite people", the role, the address (Enter makes it a chip), "Send invitation". A scenario invites only "webship-test-…" addresses.
Examples
When I invite "webship-test-invite@example.com" to the team as "Viewer"
When we invite "webship-test-invite@example.com" to the team as "Editor"
And I invite "webship-test-join@example.com" to the team as "Admin"
When I invite "webship-test-invite@example.com" to the team as "Editor"
When I invite "webship-test-other@example.com" to the team as "Viewer"
Pattern
When(/^(?:I|we) invite "([^"]*)" to the team as "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.