The theme named is the one in use: its choice is ticked, and the page wears it (the body's themes).
When I choose the "System default theme" appearance
Examples
Then the "Dark theme" appearance should be in use
Then the "System default theme" appearance should be in use
And the "Light theme" appearance should be in use
Then the "Dark theme" appearance should be in use
Then the "High contrast mode" appearance should be in use
Pattern
Then(/^the "([^"]*)" appearance should be in use$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.