Resize to each configured breakpoint and capture the current page at each. The breakpoints come from DIFFY_BREAKPOINTS or worldParameters.diffy.breakpoints.
Diffy API: none (Playwright screenshots, kept in memory until they are sent)
Examples
Then I take screenshots for all breakpoints
Then we take screenshots for all breakpoints
And I take screenshots for all breakpoints
And we take screenshots for all breakpoints
Then take screenshots for all breakpoints
And take screenshots for all breakpoints
Pattern
Then(/^(I |we )*take screenshots for all breakpoints$/, …)
Part of @webship-js/diffy-steps (github.com/webship/diffy-steps), a step pack for Webship-js 2.0.x.