Skip to content
This repository has been archived by the owner on Aug 19, 2023. It is now read-only.
/ cypress-bug Public archive

Showcase example for a bug in newer Cypress versions

Notifications You must be signed in to change notification settings

bettermarks/cypress-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypress-bug

Showcase example for a bug in newer Cypress versions

What is the Problem?

testing angularjs code fails after updating cypress from 9.1.1 to 9.3.1, 9.4.1 or 9.5.0.

Inside the app there is a test where changing the route state calls angular-ui-router.min.js, which then calls angular-animate.min.js. Some components of the application cannot be re-rendered, and it's not possible to interact with them anymore. Some actions like "change the tab" that would usually close the components did'nt do so, the broken parts stay on screen.

It works when done manually and works with cypress:9.1.1. It fails regardless of headless mode with Electron and Chrome

error message after rerouting to a tab

Error Message

failing tests with cypress 9.5.0

9.5.o

succeeding tests with cypress 9.1.1

9.1.1

How to try it out?

This setup uses cypress 9.5.0

  • Have node installed
  • Go to ./project
  • run npm i
  • run npm run cypress:open
  • see that the test fails
  • downgrade to cypress 9.1.1
  • run again
  • see that the test succeeds

About

Showcase example for a bug in newer Cypress versions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published