Created
October 11, 2011 20:58
-
-
Save candera/1279418 to your computer and use it in GitHub Desktop.
More spec failures
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Refine search can refine the search with sliders for zipcode radius and age | |
Failure/Error: results_for_18_to_22_year_olds.should < results_for_30_mile_radius | |
expected: < 12416 | |
got: 12416 | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:54:in `block (3 levels) in <top (required)>' | |
# ./app/models/setting.rb:63:in `with_temp_setting' | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:22:in `block (2 levels) in <top (required)>' | |
2) Refine search can search for income ranges | |
Failure/Error: page.number_of_leads.should == initial_results | |
expected: 876 | |
got: 68 (using ==) | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:147:in `block (2 levels) in <top (required)>' | |
3) Refine search can search for home value | |
Failure/Error: page.number_of_leads.should < initial_results | |
expected: < 876 | |
got: 876 | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:201:in `block (2 levels) in <top (required)>' | |
4) Refine search can search for married females who own their home | |
Failure/Error: page.number_of_leads.should < initial_results | |
expected: < 876 | |
got: 876 | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:216:in `block (2 levels) in <top (required)>' | |
5) Refine search Invalid magic search input clears the error message when the search is re-run with no error | |
Failure/Error: fill_in "Your product or service", :with => "Bird Feeders" | |
The given selector ".//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'Your product or service' or ./@name = 'Your product or service') or ./@id = //label[normalize-space(string(.)) = 'Your product or service']/@for)] | .//label[normalize-space(string(.)) = 'Your product or service']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')] is either invalid or does not resultin a Webelement. The following error occurred: | |
[InvalidSelectorError] Unable to locate elements with the xpath expression .//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')][((./@id = 'Your product or service' or ./@name = 'Your product or service') or ./@id = //label[normalize-space(string(.)) = 'Your product or service']/@for)] | .//label[normalize-space(string(.)) = 'Your product or service']//.//*[self::input | self::textarea][not(./@type = 'submit' or ./@type = 'image' or ./@type = 'radio' or ./@type = 'checkbox' or ./@type = 'hidden' or ./@type = 'file')] because of the following error: | |
[Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEvaluator.createNSResolver]" nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)" location: "JS frame :: resource://fxdriver/modules/atoms.js :: <TOP_LEVEL> :: line 2361" data: no] | |
# [remote server] file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/driver-component.js -> file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/firefoxDriver.js:478:in `unknown' | |
# [remote server] file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/driver-component.js -> file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/firefoxDriver.js:529:in `unknown' | |
# [remote server] file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:306:in `unknown' | |
# [remote server] file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:320:in `unknown' | |
# [remote server] file:///tmp/webdriver-profile20111011-21777-17nhc1q/extensions/fxdriver@googlecode.com/components/nsCommandProcessor.js:197:in `unknown' | |
# (eval):2:in `fill_in' | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:84:in `block (3 levels) in <top (required)>' | |
6) Refine search age range criteria can be removed by setting slider to 18-64 (default) | |
Failure/Error: lambda { click_on "Search" }.should change{ Criteria.where(:parameter_id => parameter.id).count }.by(-1) | |
result should have been changed by -1, but was changed by 0 | |
# ./spec/acceptance/refine_search_acceptance_spec.rb:159:in `block (3 levels) in <top (required)>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment