Then the "Dimensions" of the file should be "640 × 400"

A line of the open file's "File info": "Size", "Dimensions", "Extension", "Created by", "Asset ID", "Creation date", "Last updated".

Examples

Then the "Dimensions" of the file should be "640 × 400"
Then the "Extension" of the file should be "png"
And the "Created by" of the file should be "Administrator Webship"
Then the "Dimensions" of the file should be "320 × 200"
Then the "Created by" of the file should be "Editor Webship"

Pattern

Then(/^the "([^"]*)" of the file should be "([^"]*)"$/, …)

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