Then the open page should be "Page 1"

Assert the page of the file the workspace shows (the item of the side bar that is open), and that the address names it.

Examples

Then the open page should be "Page 1"
Then the open page should be "Webship test page"
And the open page should be "Page 2"
Then the open page should be "Page 1"
Then the open page should be "Webship test page"

Pattern

Then(/^the open page should be "([^"]*)"$/, …)

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