Then the downloaded file should be a PDF of 1 page

Assert that the downloaded file is a PDF of a number of pages (the PDF export makes a page of each board).

Examples

Then the downloaded file should be a PDF of 1 page
Then the downloaded file should be a PDF of 2 pages
And the downloaded file should be a PDF of 2 pages
Then the downloaded file should be a PDF of 3 pages
Then the downloaded file should be a PDF of 1 page

Pattern

Then(/^the downloaded file should be a PDF of (\d+) pages?$/, …)

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