Mocks an API endpoint using the contents of a local JSON file. Supports fixtures for reusable API endpoints and mock files.
Given I pw mock the API endpoint "/api/users" with response from "mocks/users.json" Copy
Given I pw mock the API endpoint "/api/users" with response from "mocks/users.json"
Mocks an API endpoint using the contents of a local JSON file. Supports fixtures for reusable API endpoints and mock files.