Search the library by a file name (or the start of one): its File name search, which the step chooses. The library's default search reads what a photo shows, which needs machine learning; without it, its words are not read and every photo comes back.
Examples
When I search the library for the file name "webship-test-blue"
When we search the library for the file name "webship-test-red.jpg"
And I search the library for the file name "webship-test"
When I search the library for the file name "holiday-2024"
Given I search the library for the file name "webship-test-green"
Pattern
When(/^(?:I|we) search the library for the file name "([^"]+)"$/, …)
Part of @webship-js/immich-steps (github.com/webship/immich-steps), a step pack for Webship-js 2.0.x.