Then the page should list the file "Homepage"

Assert that the screen lists a file, or does not: the cards of a project's files, the drafts, the shared libraries, the results of a search.

Examples

Then the page should list the file "Homepage"
Then the page should not list the file "Style guide"
And the page should list the file "Sketches"
Then the page should list the file "Style guide"
But the page should not list the file "Webship test file"

Pattern

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

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