When I open the API docs

Open the API docs (Swagger UI, worldParameters.fastapi.docs: /docs) and wait for them to draw the operations of the schema. When their script did not load, the step says which host the browser could not reach.

Examples

When I open the API docs
Given I open the API docs
And we open the API docs
When open the API docs
Then I open the API docs

Pattern

When(/^(?:I |we )?open the API docs$/, …)

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