From the course: Advanced Cypress
Unlock this course with a free trial
Join today to access over 23,200 courses taught by industry experts.
What are Cypress mouse commands? - Cypress Tutorial
From the course: Advanced Cypress
What are Cypress mouse commands?
In this video, we're going to talk about using some different mouse events in Cypress. So the goals for this video are to use the Cypress mouse commands and explore passing in some different options. And then also, there might be instances in which you want to create a hover effect. So maybe you have some sort of action that triggers on hover. There's actually not a specific hover action by default or a hover command by default out of the box with Cypress. So we'll go ahead and take a look at a workaround for that. So let's go ahead and get started. So as we've been doing in these videos we've got our project running locally and we've got our test runner command entered here, and we've got our little test runner UI ready to go. So let's go ahead and write some tests. So we're going to exclusively use the actions/commands page for this. So we can actually utilize this before each like we've looked at before. So we're not going to be worried about fixtures in this particular video. So…
Contents
-
-
-
(Locked)
GET and FIND command hacks20m 5s
-
(Locked)
How to install Cypress plugin and set environment variables17m 52s
-
(Locked)
How to handle Cypress async commands12m 10s
-
How to handle non-Cypress async promises11m
-
(Locked)
How to use assertions in Cypress9m 45s
-
(Locked)
How to write tests with Cypress UI commands15m 41s
-
(Locked)
What are Cypress hooks?11m 54s
-
(Locked)
What are Cypress fixtures?16m 56s
-
(Locked)
What are Cypress custom commands?16m 53s
-
(Locked)
What are Cypress mouse commands?14m 13s
-
(Locked)
What are Cypress actions?10m 14s
-
(Locked)
Perform cross-browser testing on Cloud14m 25s
-
(Locked)