The viewer shows a PDF: the viewer is open on the file, with the PDF viewer's document loaded.
And the PDF should have 2 pages
Examples
Then the viewer should show the PDF "annual-report.pdf"
And the viewer should show the PDF "annual-report.pdf"
Then the viewer should show the PDF "report.pdf"
Then the viewer should show the PDF "annual-report.pdf"
Then the viewer should show the PDF "manual.pdf"
Pattern
Then(/^the viewer should show the PDF "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.