This repository hosts the source code for my Cypress For Ruby on Rails Developers article.
Install Ruby dependencies:
$ bundle
Install Node dependencies:
$ yarn
Setup the database:
$ bundle exec rake db:setup
Start the server in a test environment on port 5002:
$ bin/rails server -e test -p 5002
Start the Cypress test runner:
$ yarn cypress open --project ./spec