8000 GitHub - erikphansen/cy-rails-test-app: Simple Rails app to test cypress-rails
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

erikphansen/cy-rails-test-app

Repository files navigation

This application exists to help diagnose a potential bug in cypress-rails 0.8.0.rc1.

Setup

First, you'll need Ruby and Node. This app calls for 3.3.5 and 22.9.0 but anything close to that should work. You'll also need PostgreSQL running locally. If your local install of Postgres requires a password to log in, you'll want to set a proper username and password in config/database.yml.

  1. Install deps with bundle and npm install
  2. Set up the database with bin/rails db:test:prepare
  3. Run bin/rails cypress:run. The second test should fail, but it might take a few runs of bin/rails cypress:run. This test failure means that the database is not getting properly reset between tests.
  4. Alternatively, you can run Cypress in interactive mode with bin/rails cypress:open so observe the issue with the database not getting reset between tests or runs of the test suite.

About

Simple Rails app to test cypress-rails

Resources

Stars

4D51

Watchers

Forks

Releases

No releases published

Packages

No packages published
0