When I set "Alternative text" to "A lighthouse ring on blue" in the file details

Set a field of the open file's details ("File name", "Caption", "Alternative text").

Examples

When I set "Alternative text" to "A lighthouse ring on blue" in the file details
And I set "Caption" to "A test caption" in the file details
When I set "File name" to "renamed-lighthouse.png" in the file details
When I set "Alternative text" to "" in the file details
When I set "Caption" to "" in the file details

Pattern

When(/^I set "([^"]*)" to "([^"]*)" in the file details$/, …)

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