Then the PDF should show "Annual report 2026"

The PDF in the viewer shows a text (the words given, in the text of its rendered pages).

            When I close the viewer

Examples

Then the PDF should show "Annual report 2026"
Then the PDF should show "Annual report"
And the PDF should show "Annual report 2026"
Then the PDF should show "Annual report 2026"
Then the PDF should show "the figures"

Pattern

Then(/^the PDF should show "([^"]*)"$/, …)

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