- don't pass -P flag to set tests path, instead rely on the config inside cypress.json
- add --browser option and pass the selected browser to the run method if selected browser is chrome, don't record video
- add --record to cypress when CYPRESS_RECORD_KEY is present in #run method
- renamed
seeds
toscripts
- added
scripts_path
to config, it defaults tospec/cypress/scripts
- Integrate the gem with Rails and hook up a middleware for:
- reseting the database
- calling "seed" files
- Added configuration object with
before_each
option which takes a block of code to be executed before each example
- Added more options to the CLI
- Added
#run
and#open
methods to the Runner
- Added
CypressRails::Runner
class that runs Cypress with the specified command inside theCypressRails::Server.start
block - Runner returns the status code of the Cypress process
- Initial release
- Added
CypressRails::Server
class that starts the application to test under the specified address