Sign the requests of the API steps with an API key of an account instead: a key named "Webship test key" with every permission, made for the scenario through the API and sent as x-api-key. @removes-test-content removes it after.
Examples
Given the library's API uses a key of "user"
Given the library's API uses a key of "admin"
And the library's API uses a key of "newcomer"
Given the library's API uses a key of "editor"
When the library's API uses a key of "user"
Pattern
Given(/^the library's API uses a key of "([^"]+)"$/, …)
Part of @webship-js/immich-steps (github.com/webship/immich-steps), a step pack for Webship-js 2.0.x.