End to end testing Rails with capybara
Vložit
- čas přidán 8. 05. 2024
- In this episode, you'll learn about how to setup capybara for end to end testing. We also cover how to login within the context of a test to access authenticated routes that are protected with devise.
#rails #rubyonrails - Jak na to + styl
The content you cover in your videos are very in high quality. You deserve more subs and you just got one more. Thanks for sharing these.
Thanks!
It is a good video! Thanks man!
Nice done!
what is the difference between system and features test?
I am trying to integrate capybara to my project, but when I try to use the login_as, it does not authenticate it. The page returns : 'You need to sign in or sign up before continuing'
I'm trying to debug a similar problem right now, I think the problem is login_as is a warden method but I am using devise so I am trying to get it to work with sign_in which I used for request specs. I'll let you know if I figure it out.
Where’s the capybaras