Assert that the downloaded file is a PNG image of a size in pixels (an export of a board at 1x).
Examples
Then the downloaded file should be a PNG image of 300 by 200 pixels
Then the downloaded file should be a PNG image of 300 by 60 pixels
And the downloaded file should be a PNG image of 300 by 200 pixels
Then the downloaded file should be a PNG image of 220 by 140 pixels
Then the downloaded file should be a PNG image of 120 by 80 pixels
Pattern
Then(/^the downloaded file should be a PNG image of (\d+) by (\d+) pixels$/, …)
Part of @webship-js/penpot-steps (github.com/webship/penpot-steps), a step pack for Webship-js 2.0.x.