Skip to content

NoriSte/cypress-mousemove-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypress-mousemove-issue

The simplest code to show a strange mouse-related Cypress behavior.

Run it with

npm install
npm run server:create

# in another tab/window
npm test

Description

The simple index.html page contains an unclickable button (try to manually move the mouse and click it) but Cypress can do that because it doesn't trigger any mousemove events. I created this repo with the only goal of opening an issue to the Cypress team providing them a simple repo to reproduce it.

If you want to test the Puppeteer behavior just checkout the puppeteer branch. TestCafè behaves like Puppeteer: it moves the cursor to the button triggering different mousemove events (read here some more details).

TLDR;

All began with this question on StackOverflow and then I wrote some tests in Puppeteer, TextCafé and Cypress to check the strang Cypress's behavior.

About

The simplest code to show a strange mouse-related Cypress behaviour

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published