test-reload
Reloads Cypress when a given watched file changes
Last updated 2 years ago by bahmutov .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install test-reload 
SYNC missed versions from official npm registry.

cypress-watch-and-reload CircleCI

Reloads Cypress when a given watched file changes

Use

npm install cypress-watch-and-reload

Add to your cypress/plugins/index.js file

require('cypress-watch-and-reload/plugins')

Add to your cypress/support/index.js file

require('cypress-watch-and-reload/support')

Details

This plugin opens a WebSocket connection from Cypress to its Node backend. The backend is watching index.html file. Whenever you change and save the index.html file, Cypress will notice and will reload itself, rerunning tests.

License

MIT license

Current Tags

  • 1.0.0                                ...           latest (2 years ago)

1 Versions

  • 1.0.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |