The backend's last answer had a status, and Nest's message (or an entry of its list) contains the text. Letter case and white space do not count.
Examples
Then the backend should have answered 404 with "Product 99 not found"
And the backend should have answered 400 with "numeric string is expected"
Then the backend should have answered 401 with "Invalid username or password"
And the backend should have answered 409 with "already exists"
But the backend should have answered 429 with "Too Many Requests"
Pattern
Then(/^the backend should have answered (\d{3}) with "([^"]*)"$/, …)
Part of @webship-js/nestjs-steps (github.com/webship/nestjs-steps), a step pack for Webship-js 2.0.x.