-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a webpage that has a form button on it called "delete", and a cuke scenario that has the line:
And I should see "delete"
When I run the scenario, I get this error:
expected the following element's content to include "delete"
...and it dumps the webrat page to stdout and the "delete" is…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using cucumber with webrat, and I am just starting to integrate culerity/celerity. My webrat login steps have been working great, and I have them as a Background for many of my scenarios. The problem is that although I can log in successfully via webrat, my celerity specific step definitions don't…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm getting a segfault in nokogiri (1.4.1) run (under cucumber 0.6.1/webrat 0.7.0/rspec 1.3.x)
response.should have_selector("div", :class => "fieldWithErrors")
and the div in the page is actually
<div class="fieldWithErrors validation_error"> stuff </div>
Everything runs fine…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I set up Cucumber+Webrat+Selenium according to this article.
Whenever I run my server, though, I keep getting:
ERROR Server Exception: sessionId should not be null; has this session been started yet? (Selenium::CommandError)
Two hours on Google haven't done much for me. Could you please help out…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to test across multiple sessions using webrat in merb. Apparently, this is fairly easy to accomodate in Rails via: http://erikonrails.snowedin.net/?p=159.
Following the same logic, I am trying to do something that follows that pattern for merb and webrat. Here is an attempt (which does not…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've confirmed cucumber tests work fine without bundler, but with bundler it breaks. This is the error I get:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each (NoMethodError)
/home/senthil/rails/othersprograms/nmicho-teambox/vendor/plugins/cucumber/lib/cucumber/formatter/console…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to make rails app which will require minimum gems. I freeze gems into app and try to run cucumber's test and I've got the an error. Below is sequence of my actions. What I do wrong?
rails cucumber && cd cucumber
rake rails:freeze:gems
add at the end of config/environments/test.rb:
config…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have project on Rails (2.3.5). I add into environment.rb same sting:
config.gem "cucumber-rails",
run "rake gems:unpack:dependencies". Output of "rake gems":
[F] cucumber-rails
[F] cucumber = 0.6.2
[F] term-ansicolor = 1.0.4
[F] treetop = 1.4.2
[F] polyglot = 0.3.1
[F] polyglot = 0.2.9
[F]…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I am trying to to get cucumber to run with no luck. Here is the error I am seeing:
cucumber features Using the default profile... no such file to
load -- test/ (MissingSourceFile)
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
gem_original_require'
/Library/Ruby/Site/1…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
This works fine: $ rake cucumber:all
Then $ script/plugin install git://github.com/bmabey/email-spec.git
remote: Counting objects: 162, done.
remote: Compressing objects: 100% (130/130), done.
remote: Total 162 (delta 18), reused 79 (delta 13)
Receiving objects: 100% (162/162), 127.65 KiB | 15 KiB/s…
>>> More