The viewer shows a picture: the viewer is open on the file, with the picture loaded (its alternative text is the file's name).
When I close the viewer
Examples
Then the viewer should show the image "team-photo.png"
And the viewer should show the image "team-photo.png"
Then the viewer should show the image "team.png"
Then the viewer should show the image "team-photo.png"
Then the viewer should show the image "photo.jpg"
Pattern
Then(/^the viewer should show the image "([^"]*)"$/, …)
Part of @webship-js/nextcloud-steps (github.com/webship/nextcloud-steps), a step pack for Webship-js 2.0.x.