Skip to content
An example of integrating Cypress with Rails.
Ruby HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
app
bin
config
db
lib
log
public
spec
storage
tmp
vendor
.gitignore
.rspec
.ruby-version
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
logo.png
package.json
yarn.lock

README.md

Cypress For Ruby on Rails Developers

cypress for rails developers logo

CircleCI

This repository hosts the source code for my Cypress For Ruby on Rails Developers article.

Installation

Install Ruby dependencies:

$ bundle

Install Node dependencies:

$ yarn

Setup the database:

$ bundle exec rake db:setup

Run Cypress tests

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
You can’t perform that action at this time.