Then the debug toolbar should show at most 10 database queries

Assert that the request of the page ran no more database queries than a limit, as the debug toolbar counts them: a list that runs one query per row shows here first.

Examples

Then the debug toolbar should show at most 10 database queries
Then the debug toolbar should show at most 5 database queries
And the debug toolbar should show at most 1 database query
Then the debug toolbar should show at most 20 database queries
Then the debug toolbar should show at most 10 database queries

Pattern

Then(/^the debug toolbar should show at most (\d+) database quer(?:y|ies)$/, …)

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