Then the app should have called "POST /api/v1/items/"

The page called the API: a method and a path (with a query, when the step names one). The step waits for the call and its answer; the steps after it read that call. The latest call of the page that fits is the one.

Examples

Then the app should have called "POST /api/v1/items/"
Then the app should have called "GET /api/v1/users/me"
And the app should have called "DELETE /api/v1/items/{id}"
Then the app should have called "GET /api/v1/items/?skip=0&limit=100"
But the app should have called "PATCH /api/v1/users/me"

Pattern

Then(/^the app should have called "([A-Z]+) ([^"]+)"$/, …)

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