Make an account meet the onboarding again: the questionnaire when the account never answered it, else the choice of a team. Set through the site's API as the account itself; put back after the scenario, whatever its outcome. (Answers sent with "Start" stay on the account for good: a suite walks the questionnaire without sending them.)
Examples
Given "viewer" has not done the onboarding yet
Given "editor" has not done the onboarding yet
And "viewer" has not done the onboarding yet
Given "admin" has not done the onboarding yet
Given "viewer" has not done the onboarding yet
Pattern
Given(/^"([^"]*)" has not done the onboarding yet$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.