Then the member "editor" should have the role "Editor"

Assert the role of a member of the team that is open (a handle of the registry or an address), on its Members section: "Owner", "Admin", "Editor" or "Viewer".

Examples

Then the member "editor" should have the role "Editor"
Then the member "owner" should have the role "Owner"
And the member "viewer" should have the role "Viewer"
Then the member "admin" should have the role "Admin"
Then the member "viewer@example.com" should have the role "Editor"

Pattern

Then(/^the member "([^"]*)" should have the role "([^"]*)"$/, …)

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