We have been using Cucumber for some time now, and now have over 200 scenarios. Our startup speed is getting very slow, which makes a big difference in our edit-test-commit cycle. The problem seems to
I have a number of Cucumber scenarios which run with capybara on a project I am working on. Most of these scenarios start with a \"Given I am logged in\" step. Currently my implementation of this is:
I\'m using cucumber with webrat/mechanize to test a PHP site and I\'m trying to improve the speed the tests run by avoiding running unnecessary steps.
I got a problem with Cucumber. I don\'t know kow to say to Cucumber that \"he\" has to click on a pictur开发者_如何转开发e and then see some text...like I do with buttons or links.
In my rails application, I have a page with a link that execute a javascript function : <%= link_to_function(\"A开发者_如何学运维dd an address\", \"add_fields(this)\".html_safe) %>
I\'m using following construct in a cucumber step definition. Given \"I have following stuff\" do Model.delete_all
I am trying to test an inplace editor using Cucumber/Capybara/Selenium stack, but my problem is that the editor is activated by clicking a div and not a link or button. I can not seem to figure out ho
开发者_JAVA百科I\'d like to suppress the initialization of TinyMCE inside my tests and can do this easily if the JavaScript can detect that I\'m running inside a Selenium-automated page.
I am trying to get cucumber to work with Rails 3. But whenever I try to run the cucumber features I get an load error.
I am working with rails 3 and cucumber, all is going well except for this little problem Given I am on the \"edit automobile\" page