rails (4.2.11, 4.2.7)
puma (3.12.1, 3.12.0)
ruby 2.3.3p222
Capybara.register_driver :chrome do |app|
Capybara::Selenium::Driver.new(app, :browser => :chrome)
end
#Capybara.configure { |config| config.default_host = 'localhost:3000' }
Capybara.javascript_driver = :chrome
So my test is failing to login, but I believe the issue is relating to another gem we are using.
We want to debug the Webserver that capybara is using whilst running Rspec if that makes sense, to see what data it has?
Hello Evette
We need more info to help you. What do you mean by?
> But is there a way to debug through the web server whilst RSpec tests are running?
Regards
--
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rspec+un...@googlegroups.com.
To post to this group, send email to rs...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/b534176f-d97b-46ba-92b1-dfdd25e0c798%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think you should look at
https://medium.com/@tjdracz/interactive-debug-sessions-in-rspec-with-capybara-6c4dec2619d3
To view this discussion on the web visit https://groups.google.com/d/msgid/rspec/CAAQHF755WXPJ9mAMtEKHY9vYfm7veiAt7X9Ox6K2KAUdkXuNgA%40mail.gmail.com.
Hello Evette
We need more info to help you. What do you mean by?
> But is there a way to debug through the web server whilst RSpec tests are running?
--
Hello Evette
We need more info to help you. What do you mean by?
> But is there a way to debug through the web server whilst RSpec tests are running?
Regards
Le 01/05/2019 à 14:56, Evette a écrit :
I am able to debug my rspec test file through RubyMine and I can use the step through debugger which has been super helpful.--But is there a way to debug through the web server whilst RSpec tests are running?
We are using the following:rails (4.2.11, 4.2.7)
puma (3.12.1, 3.12.0)
ruby 2.3.3p222
You received this message because you are subscribed to the Google Groups "rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rs...@googlegroups.com.