Skip to content

This repo is an example of an issue which was found by using Cypress

Notifications You must be signed in to change notification settings

lukaskl/cypress-cy-wait-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress issue report

This repo is an example of an issue which was found by using Cypress


steps to reproduce

first:

yarn install

Open Cypress Test Runner in interactive mode and run tests there.

Expected: should work

yarn cy:start

run tests in a headless browser:

Expected: should fail

yarn cy:test

both of those commands start the same React app in the same way. Only the cypress part differs.

check package.json how actual script commands look like

"cy:attach-open": "wait-on http-get://localhost:3000/ && cypress open",
"cy:attach-run": "wait-on http-get://localhost:3000/ && cypress run",
"cy:start": "run-p start cy:attach-open",
"cy:test": "run-p --race start cy:attach-run"

About

This repo is an example of an issue which was found by using Cypress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published