Assert the board the view mode shows (its name in the header).
Examples
Then the view mode should show the board "Footer"
Then the view mode should show the board "Hero"
And the view mode should show the board "Footer"
Then the view mode should show the board "Board"
Then the view mode should show the board "Hero"
Pattern
Then(/^the view mode should show the board "([^"]*)"$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.