Then the button "Export" of the dialog should be disabled

Assert that a button of the open dialog is enabled or disabled.

Examples

Then the button "Export" of the dialog should be disabled
Then the button "Send invitation" of the dialog should be enabled
And the button "Save" of the dialog should be disabled
Then the button "Send invitation" of the dialog should be disabled
Then the button "Export" of the dialog should be enabled

Pattern

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

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