Assert that the role of a member can be changed on the Members section (it has a list of roles), or cannot (the owner's, or every role for a member who is not an admin).
Examples
Then the role of the member "owner" should not be changeable
Then the role of the member "editor" should be changeable
And the role of the member "viewer" should be changeable
Then the role of the member "editor" should not be changeable
Then the role of the member "admin" should be changeable
Pattern
Then(/^the role of the member "([^"]*)" should( not)? be changeable$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.