Skip to content

Instantly share code, notes, and snippets.

@jdee
Created September 8, 2010 01:11
Show Gist options
  • Save jdee/569425 to your computer and use it in GitHub Desktop.
Save jdee/569425 to your computer and use it in GitHub Desktop.
bundle exec cucumber -p enhanced features/enhanced/attachments.feature:7
Using the enhanced profile...
/home/jdee/.rvm/gems/jruby-1.5.2/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
Features: Attaching documents to an Event.
To support better documenting of cases
Correspondence and images files can be attached to an event.
Scenario: Delete an attachment from the add attachment screen # features/enhanced/attachments.feature:7
Connection refused - Connection refused (Errno::ECONNREFUSED)
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:560:in `initialize'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:560:in `new'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:560:in `open'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:560:in `connect'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:560:in `connect'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:553:in `do_start'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:542:in `start'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:1035:in `request'
/home/jdee/.rvm/rubies/jruby-1.5.2/lib/ruby/1.8/net/http.rb:845:in `post'
/home/jdee/.rvm/gems/jruby-1.5.2/gems/selenium-client-1.2.18/lib/selenium/client/protocol.rb:89:in `http_post'
/home/jdee/.rvm/gems/jruby-1.5.2/gems/selenium-client-1.2.18/lib/selenium/client/protocol.rb:12:in `remote_control_command'
/home/jdee/.rvm/gems/jruby-1.5.2/gems/selenium-client-1.2.18/lib/selenium/client/protocol.rb:11:in `remote_control_command'
/home/jdee/.rvm/gems/jruby-1.5.2/gems/selenium-client-1.2.18/lib/selenium/client/protocol.rb:19:in `string_command'
/home/jdee/.rvm/gems/jruby-1.5.2/gems/selenium-client-1.2.18/lib/selenium/client/base.rb:85:in `start_new_browser_session'
/home/jdee/.rvm/gems/jruby-1.5.2/gems/selenium-client-1.2.18/lib/selenium/client/base.rb:99:in `start'
/home/jdee/github/csinitiative/trisano/webapp/features/support/enhanced.rb:48:in `Before'
Given I am logged in as a super user # features/enhanced_step_definitions/common_helper_steps.rb:18
And a simple morbidity event in jurisdiction Davis County for last name Simpson # features/shared_step_definitions/event_steps.rb:57
And a file attachment named "test-attachment" # features/enhanced_step_definitions/attachments_steps.rb:18
When I navigate to the add attachments page # features/enhanced_step_definitions/attachments_steps.rb:28
And I wait for the page to load # features/enhanced_step_definitions/common_helper_steps.rb:59
And I click and confirm the attachment "Delete" link # features/enhanced_step_definitions/attachments_steps.rb:33
Then the text "test-attachment" should disappear # features/enhanced_step_definitions/fb_delete_library_elements_steps.rb:57
Failing Scenarios:
cucumber -p enhanced features/enhanced/attachments.feature:7 # Scenario: Delete an attachment from the add attachment screen
1 scenario (1 failed)
7 steps (7 skipped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment