Then the development error overlay should list 2 errors

How many errors the development error overlay lists (the count in its header).

Examples

Then the development error overlay should list 2 errors
And the development error overlay should list 1 error
Then development error overlay should list 3 errors
And the development error overlay should list 2 errors
Then the development error overlay should list 1 error

Pattern

Then(/^(?:the )?development error overlay should list (\d+) errors?$/, …)

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