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

  • @RatanachaiS
    @RatanachaiS Жыл бұрын

    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

    @cjav_dev

    Жыл бұрын

    Thanks!

  • @engelpintoruiz7613
    @engelpintoruiz76132 жыл бұрын

    It is a good video! Thanks man!

  • @xinrutang6883
    @xinrutang68832 жыл бұрын

    Nice done!

  • @haroldpepete
    @haroldpepete Жыл бұрын

    what is the difference between system and features test?

  • @mondainicalvao6314
    @mondainicalvao6314 Жыл бұрын

    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

    @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.

  • @matthewalcala6975
    @matthewalcala69752 жыл бұрын

    Where’s the capybaras

Келесі