[{"data":1,"prerenderedAt":40},["ShallowReactive",2],{"blog-article-/blog/testing-staging-production-envs-playwright":3,"blog-surround-/blog/testing-staging-production-envs-playwright":31},{"id":4,"title":5,"body":6,"canonical":13,"date":14,"description":15,"extension":16,"featured":17,"image":18,"meta":19,"navigation":21,"ogImage":13,"path":22,"provider":23,"published":17,"seo":24,"stem":25,"tags":26,"url":29,"__hash__":30},"blog/blog/testing-staging-production-envs-playwright.md","Testing Staging and Production environments in Playwright",{"type":7,"value":8,"toc":9},"minimark",[],{"title":10,"searchDepth":11,"depth":11,"links":12},"",2,[],null,"2024-08-02","When working with third party API's it is better to mock the API call rather than hit the API especially when they are API's that you do not control. Mocking the API allows you to finish developing your component or app and write the tests and then when the API is ready you can just swap out the mock for the real API call.","md",false,"v1725567832/debbie.codes/blog/2024/staging-production_fivhwv",{"platform":20},"Dev.to",true,"/blog/testing-staging-production-envs-playwright","cloudinary",{"title":5,"description":15},"blog/testing-staging-production-envs-playwright",[27,28],"playwright","testing","https://dev.to/playwright/testing-staging-and-production-environments-in-playwright-3p8b","L1Biq2XfoEU5_EKpTENiL-rpxlkrAmIBX4o3NofMH9g",[32,36],{"title":33,"path":34,"stem":35,"children":-1},"Taking my babies to a conference","/blog/brought-my-babies-to-a-conference","blog/brought-my-babies-to-a-conference",{"title":37,"path":38,"stem":39,"children":-1},"Install Playwright MCP Server in VS Code","/blog/install-playwright-mcp-server-in-vs-code","blog/install-playwright-mcp-server-in-vs-code",1790839747150]