【发布时间】:2020-12-10 10:17:47
【问题描述】:
我试图在 TestCafe 中模拟一些响应,并且模拟响应的速度很慢。我想要的工作流程是这样的:
- 浏览 Chrome 中的测试场景。
- 复制选定的网络请求以模拟为 curl 命令。
- 将其粘贴到 Testcafe 翻译器的 curl 命令中。
- 将其粘贴到 testcafe。
除了手动手动输入模拟请求之外,我还没有找到生成模拟请求的好方法。有没有人知道任何允许您将 fetch 或 curl 命令转换为 TestCafe 模拟响应的工具?
【问题讨论】:
标签: testing automation automated-tests e2e-testing testcafe