public
Created

backtrace

  • Download Gist
feature
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Feature: Filter content items
 
In order to navigate the tremendous amount of content in the aqua portal
I want to be able to filter the list of content items when browsing
Background:
Given the following content items exist:
| Title | Hospital | Metric | Area |
| Deaths in Salford | Salford Royal | Deaths | Lancashire |
| Beds in Bolton | Bolton General | Beds | Lancashire |
| Beds in Kendal | Kendal General | Beds | Cumbria |
And I go to the content list
 
Scenario: Filter on multiple categories
When I set the filter to:
| Category | Value |
| Area | Lancashire |
| Metric | Beds |
Then I should only see the content item "Beds in Bolton"
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Element is no longer attached to the DOM (Selenium::WebDriver::Error::ObsoleteElementError)
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/resource/modules/utils.js:6501:in `WebDriverError'
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/resource/modules/utils.js:6617:in `'
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/components/driver-component.js -> file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/components/wrappedElement.js:125:in `'
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/resource/modules/atoms.js:272:in `'
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:302:in `'
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:316:in `'
[remote server] file:///private/var/folders/ag/agXufRwuErqHtjfH0iErp++++TI/-Tmp-/webdriver-profile20101119-62715-1dd3bz2/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:190:in `'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/response.rb:45:in `assert_ok'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/response.rb:15:in `initialize'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/http/common.rb:48:in `new'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/http/common.rb:48:in `create_response'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/http/default.rb:50:in `request'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/http/common.rb:33:in `call'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/bridge.rb:406:in `raw_execute'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/bridge.rb:384:in `execute'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/remote/bridge.rb:285:in `getElementText'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/selenium-webdriver-0.1.0/lib/selenium/webdriver/common/element.rb:96:in `text'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/capybara-0.4.0/lib/capybara/driver/selenium_driver.rb:6:in `text'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/capybara-0.4.0/lib/capybara/node.rb:89:in `text'
/Users/matt/projects/aqua/aqua/features/step_definitions/content_item_steps.rb:3
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `any?'
/Users/matt/projects/aqua/aqua/features/step_definitions/content_item_steps.rb:3:in `each'
/Users/matt/projects/aqua/aqua/features/step_definitions/content_item_steps.rb:3:in `any?'
/Users/matt/projects/aqua/aqua/features/step_definitions/content_item_steps.rb:3
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/rspec-expectations-2.0.0/lib/rspec/matchers/matcher.rb:37:in `instance_exec'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/rspec-expectations-2.0.0/lib/rspec/matchers/matcher.rb:37:in `matches?'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/rspec-expectations-2.0.0/lib/rspec/expectations/handler.rb:11:in `handle_matcher'
/Users/matt/.rvm/gems/ruby-1.8.7-p302@aqua/gems/rspec-expectations-2.0.0/lib/rspec/expectations/extensions/kernel.rb:27:in `should'
/Users/matt/projects/aqua/aqua/features/step_definitions/content_item_steps.rb:34

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.