Assert the page is (or is not) rendered with a theme, by its machine name: the theme the page itself reports in its JavaScript settings.
Examples
Then the page should use the "basis" theme
Then the page should use the "seven" theme
And the page should not use the "seven" theme
Then the page should not use the "basis" theme
And the page should use the "bartik" theme
Pattern
Then(/^the page should( not)* use the "([^"]*)" theme$/, …)
Part of @webship-js/backdrop-cms-steps (github.com/webship/backdrop-cms-steps), a step pack for Webship-js 2.0.x.