The photo open in the viewer is a favorite, or is not (the viewer offers "Unfavorite", or "Favorite").
Examples
Then the photo should be a favorite
And the photo should be a favorite
Then the photo should not be a favorite
But the photo should not be a favorite
Then the photo should be a favorite
Pattern
Then(/^the photo should (be|not be) a favorite$/, …)
Part of @webship-js/immich-steps (github.com/webship/immich-steps), a step pack for Webship-js 2.0.x.