Then the button "Next" of the onboarding should be disabled

Assert that a button of the onboarding is enabled or disabled (it waits for the answers of its step).

Examples

Then the button "Next" of the onboarding should be disabled
Then the button "Next" of the onboarding should be enabled
And the button "Start" of the onboarding should be disabled
Then the button "Start" of the onboarding should be enabled
But the button "Next" of the onboarding should be disabled

Pattern

Then(/^the button "([^"]*)" of the onboarding should be (enabled|disabled)$/, …)

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