Handling the database #126
-
I've just started to try Cypress and this gem and I'm wondering how to handle the database. There are two things I'm thinking of:
Thoughts, ideas? [1] https://docs.cypress.io/guides/references/best-practices#Using-after-Or-afterEach-Hooks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @jacob-carlborg-apoex, with cypress-on-rails, you can configure your test fixtures like rspec tests. Did you find that not to be the case? With regards to migrations, again, this is no different than other rspec tests. Why would migrations be related to such tests? |
Beta Was this translation helpful? Give feedback.
-
@KhaledEmaraDev |
Beta Was this translation helpful? Give feedback.
Hi @jacob-carlborg-apoex, with cypress-on-rails, you can configure your test fixtures like rspec tests. Did you find that not to be the case?
With regards to migrations, again, this is no different than other rspec tests. Why would migrations be related to such tests?