End to end testing Rails with capybara
Тәжірибелік нұсқаулар және стиль
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
Пікірлер: 10
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.
@cjav_dev
Жыл бұрын
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'
@user-ic4ce8xb5v
Жыл бұрын
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