Here's the feature:
Given "集博移动.xcodeproj" is loaded in the iphone simulator with SDK 5.0
Then I should see "医学公式"
And I tap "医学公式"
This last line throws the following error:
end of file reached (EOFError)
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:135:in `read_nonblock'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:135:in `rbuf_fill'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:116:in `readuntil'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
protocol.rb:126:in `readline'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:2211:in `read_status_line'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:2200:in `read_new'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1183:in `transport_request'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1169:in `request'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1162:in `block in request'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:627:in `start'
/Users/sjors/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/1.9.1/net/
http.rb:1160:in `request'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/httparty-0.8.1/lib/
httparty/request.rb:73:in `perform'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/httparty-0.8.1/lib/
httparty.rb:391:in `perform_request'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/httparty-0.8.1/lib/
httparty.rb:343:in `get'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
simulator.rb:52:in `get'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
simulator.rb:43:in `fire_event'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
simulator_driver.rb:64:in `tap'
/Users/sjors/.rvm/gems/ruby-1.9.2-p0/gems/iCuke-0.7.0/lib/icuke/
icuke_world.rb:98:in `block in <top (required)>'
The trace goes on for a while, but I believe this is the relevant
part.
The button is a simple UIButton, generated from code. I tried tapping
other interface elements and they resulted in the same error.
I use Ruby 1.9.2 through rvm on a Macbook. The app is built with XCode
4.2.1 (4D502) from the App Store, using the 5.0 SDK as base and
deployment target.
When I run cucumber I do get the following warning:
WARNING: Nokogiri was built against LibXML version 2.7.7, but has
dynamically loaded 2.7.8
Thanks in advance for any help,
Sjors