Ahmad hamza


30 Experience
0 Lessons Completed
0 Questions Solved


I figured this out. It was chrome driver on which it was not working. I changed to firefox and it worked perfectly fine.

Hello Chris,

I have followed your course on Stripe and i'm stuck one complete_stripe_sca step. The problem is the test does not go beyond that. It keeps on waiting.

  fill_stripe_elements card: 4000002760003184
  fill_in 'name_on_card', with: user.full_name
  click_button 'Subscribe'
        expect(page).to have_current_path(orders_path)

Thats it. It nevers comes to the last line. When on without headless chrome, it stucks after clicking the dialogue box of SCA and just stays there on the same page.

Do you have any idea what is wrong ? Let me know if you need more details.


Posted in jQuery UJS Callbacks Discussion

I would like to appreciate your work. Keep these screencasts coming. Great work :)

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.