Then the focal point of the image "Webship test loaf" should be centred at 65% 52%

Assert where the focal point of an image is: the centre of its box, as a share of the picture's width and height, within 3 points.

Examples

Then the focal point of the image "Webship test loaf" should be centred at 65% 52%
Then the focal point of the image "Webship test loaf" should be centred at 20% 20%
And the focal point of the image "Webship test focal point" should be centred at 50% 50%
Then the focal point of the image "Webship test loaf" should be centred at 25% 25%
Then the focal point of the image "Webship test loaf" should be centred at 70% 50%

Pattern

Then(/^the focal point of the image "([^"]*)" should be centred at (\d+)% (\d+)%$/, …)

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