摘要: Cypress provides a straightforward API that allows you to define custom commands. In this lesson, we’ll take a series of Cypress commands and wrap the 阅读全文
posted @ 2018-05-25 21:29 Zhentiw 阅读(462) 评论(0) 推荐(0)
摘要: When testing interactions that require asynchronous calls, we’ll need to wait on responses to make sure we’re asserting about the application state at 阅读全文
posted @ 2018-05-25 21:19 Zhentiw 阅读(438) 评论(0) 推荐(0)
摘要: When creating integration tests with Cypress, we’ll often want to stub network requests that respond with large datasets. All of this mock data can le 阅读全文
posted @ 2018-05-25 21:13 Zhentiw 阅读(483) 评论(0) 推荐(0)
摘要: To keep our tests fast and easily repeatable, it makes sense to create many integration tests and fewer full end-to-end tests. In this lesson, we’ll s 阅读全文
posted @ 2018-05-25 20:59 Zhentiw 阅读(211) 评论(0) 推荐(0)