When I resize window to "1200"

Resize the browser viewport to a breakpoint width, so a page is laid out at that width. The height is DIFFY_WINDOW_HEIGHT.

Diffy API: none (Playwright viewport)

Examples

When I resize window to "1200"
When we resize window to "640"
When I resize window to "320"
When we resize window to "768"
When I resize window to "1024"
When we resize window to "1440"
When I resize window to "1920"
When we resize window to "375"

Pattern

When(/^(I |we )*resize window to "([^"]*)"$/, …)

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