Then the configuration should not have staged changes

Assert the configuration manager has (or does not have) staged changes waiting to be imported, read from its "Synchronize" page.

Examples

Then the configuration should not have staged changes
Then the configuration should have staged changes
And the configuration should not have staged changes
Then the site configuration should not have staged changes
And the site configuration should have staged changes

Pattern

Then(/^the (?:site )?configuration should( not)* have staged changes$/, …)

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