Then the pages should list "Page 1"

Assert that the file's pages list a page, or do not.

Examples

Then the pages should list "Page 1"
Then the pages should not list "Page 2"
And the pages should list "Webship test page"
Then the pages should list "Page 2"
But the pages should not list "Webship test page"

Pattern

Then(/^the pages should( not)? list "([^"]*)"$/, …)

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