课程: End-to-End JavaScript Testing with Cypress.io
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
Interacting with elements
- [Instructor] All right, so now that we've seen a lot of the basics of writing end-to-end tests with Cypress, over the next few videos we're going to take a more in-depth look at how to do a few different things, such as interacting with elements, making different assertions, debugging our Cypress tests, and so on. So in this video we're going to focus on several different ways that you can interact with elements in Cypress, and to start off with, so far the only real interaction that we've used in our tests, in other words the only real change that we've made to the interface as we've had Cypress interact with it on our behalf, is we've used this type command to change the value in a text input, but in reality there are many other commands that Cypress provides us with for testing applications. These commands are all pretty straightforward, so I'm not really going to spend too much time on any one of them, but feel free to play around with them until they become more familiar. So…
内容
-
-
-
-
-
(已锁定)
Interacting with elements6 分钟 6 秒
-
(已锁定)
Triggering other actions8 分钟 46 秒
-
(已锁定)
Common assertions8 分钟 46 秒
-
(已锁定)
Automatic retries3 分钟 21 秒
-
(已锁定)
Debugging Cypress tests5 分钟 41 秒
-
(已锁定)
Setting environment variables6 分钟 10 秒
-
(已锁定)
Working with test doubles4 分钟 34 秒
-
(已锁定)
Challenge 2: Writing your own tests1 分钟 20 秒
-
(已锁定)
Solution 2: Writing your own tests3 分钟 29 秒
-
(已锁定)
-
-