Skip to content

Instantly share code, notes, and snippets.

@yulgit1
Last active April 5, 2016 14:04
Show Gist options
  • Save yulgit1/a0066c784d3d30fcc312865ed6798807 to your computer and use it in GitHub Desktop.
Save yulgit1/a0066c784d3d30fcc312865ed6798807 to your computer and use it in GitHub Desktop.
[ermadmix@libdev search-frontend]$ rspec
Warning: NLS_LANG is not set. fallback to US7ASCII.
Run options: include {:focus=>true}
All examples were filtered out; ignoring {:focus=>true}
.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF....F..F*F..*FF..F......F.......................
Pending:
Spectrum::Engines::Solr searches for "New Yorker" in Journals should find "The New Yorker" as the first result
# revamp to how stopwords and/or phrases are handled
# ./spec/models/engines/solr/basic_tests_spec.rb:76
Spectrum::Engines::Solr search for "women physics" in catalog should return exact matches before stemmed terms
# clarity of desired behavior
# ./spec/models/engines/solr/basic_tests_spec.rb:144
Failures:
1) The home page should let you perform a catalog advanced search
Failure/Error: visit root_path
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/advanced_from_quicksearch_spec.rb:5:in `block (2 levels) in <top (required)>'
2) An articles search will have a next link that links to articles
Failure/Error: visit articles_index_path('q' => 'test')
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/articles/pagination_links_spec.rb:6:in `block (2 levels) in <top (required)>'
3) An articles search will be able to traverse next and previous links
Failure/Error: visit articles_index_path('q' => 'test')
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/articles/pagination_links_spec.rb:14:in `block (2 levels) in <top (required)>'
4) Catalog Advanced Search should default to 'All Fields'
Failure/Error: visit root_path
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/catalog/catalog_interface_spec.rb:6:in `block (2 levels) in <top (required)>'
5) Linked field-values in single-item display should work including links with diacritics and trailing punctuation
Failure/Error: visit catalog_path('10172954')
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:18:in `block (2 levels) in <top (required)>'
6) Linked field-values in single-item display should work including RDA roles, such as 'editor'
Failure/Error: visit catalog_path(test_bib)
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:41:in `block (2 levels) in <top (required)>'
7) Linked field-values in single-item display should work including RDA roles, such as 'author'
Failure/Error: visit catalog_path(test_bib)
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:61:in `block (2 levels) in <top (required)>'
8) Linked field-values in single-item display should work including ampersands and trailing punctuation
Failure/Error: visit catalog_path(test_bib)
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:82:in `block (2 levels) in <top (required)>'
9) Linked field-values in single-item display should work including ampersands and trailing punctuation
Failure/Error: visit catalog_path(test_bib)
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:110:in `block (2 levels) in <top (required)>'
10) Linked field-values in single-item display should work including RDA roles, such as 'author'
Failure/Error: visit catalog_path(test_bib)
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:138:in `block (2 levels) in <top (required)>'
11) Linked field-values in single-item display should work including trailing punctuation
Failure/Error: visit catalog_path(test_bib)
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/catalog/linked_fields_spec.rb:159:in `block (2 levels) in <top (required)>'
12) Special HTML characters in MARC data should be escaped embedded HTML should not be interpretted
Failure/Error: visit catalog_index_path('q' => 'Auszug aus dem Lager')
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/html_escape_spec.rb:12:in `block (2 levels) in <top (required)>'
13) A Libraries Website search will have a next link that links to library_web
Failure/Error: visit library_web_index_path('q' => 'books')
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/libraries_website/pagination_links_spec.rb:6:in `block (2 levels) in <top (required)>'
14) A Libraries Website search will be able to traverse next and previous links
Failure/Error: visit library_web_index_path('q' => 'books')
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/libraries_website/pagination_links_spec.rb:14:in `block (2 levels) in <top (required)>'
15) Item Locations should show correct library hours for Avery Drawings & Archives
Failure/Error: visit catalog_path('8277276')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/library_hours_spec.rb:17:in `block (2 levels) in <top (required)>'
16) Item Locations should show correct library hours for Avery Classics
Failure/Error: visit catalog_path('565036')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/library_hours_spec.rb:27:in `block (2 levels) in <top (required)>'
17) Item Locations should show correct library hours for Oral History Research Office
Failure/Error: visit catalog_path('4075929')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/library_hours_spec.rb:36:in `block (2 levels) in <top (required)>'
18) New Arrivals Search should show 4 distinct acquisition-date facet options
Failure/Error: visit root_path
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/new_arrivals/new_arrivals_interface_spec.rb:7:in `block (2 levels) in <top (required)>'
19) The home page should display search fields for archives, catalog, new arrivals, journals
Failure/Error: visit root_path
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/quicksearch_search_fields_spec.rb:5:in `block (2 levels) in <top (required)>'
20) The home page will keep the text in a box across different sources on the landing pages
Failure/Error: visit catalog_index_path
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/search_boxes_cross_fill_spec.rb:5:in `block (2 levels) in <top (required)>'
21) The home page will switch the visible search box when a datasource is clicked upon
Failure/Error: visit catalog_index_path
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/search_boxes_cross_fill_spec.rb:12:in `block (2 levels) in <top (required)>'
22) All datasource labels should display on home-page including Libraries Website
Failure/Error: visit root_path
ActiveRecord::StatementInvalid:
Could not find table 'sessions'
# ./spec/features/source_sanity_check_spec.rb:5:in `block (2 levels) in <top (required)>'
23) All of the datasources should successfully display results including quicksearch
Failure/Error: visit quicksearch_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:12:in `block (2 levels) in <top (required)>'
24) All of the datasources should successfully display results including catalog
Failure/Error: visit catalog_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:20:in `block (2 levels) in <top (required)>'
25) All of the datasources should successfully display results including articles
Failure/Error: visit articles_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:25:in `block (2 levels) in <top (required)>'
26) All of the datasources should successfully display results including ejournals
Failure/Error: visit journals_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:30:in `block (2 levels) in <top (required)>'
27) All of the datasources should successfully display results including databases
Failure/Error: visit databases_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:35:in `block (2 levels) in <top (required)>'
28) All of the datasources should successfully display results including academic commons
Failure/Error: visit academic_commons_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:40:in `block (2 levels) in <top (required)>'
29) All of the datasources should successfully display results including the library web site
Failure/Error: visit library_web_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:45:in `block (2 levels) in <top (required)>'
30) All of the datasources should successfully display results including the archives
Failure/Error: visit archives_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:50:in `block (2 levels) in <top (required)>'
31) All of the datasources should successfully display results including the bulldogs
Failure/Error: visit bulldogs_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:55:in `block (2 levels) in <top (required)>'
32) All of the datasources should successfully display results including the dissertations
Failure/Error: visit dissertations_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:60:in `block (2 levels) in <top (required)>'
33) All of the datasources should successfully display results including the ebooks
Failure/Error: visit ebooks_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:68:in `block (2 levels) in <top (required)>'
34) All of the datasources should successfully display results including the new arrivals
Failure/Error: visit new_arrivals_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:76:in `block (2 levels) in <top (required)>'
35) All of the datasources should successfully display results including the newspapers
Failure/Error: visit newspapers_index_path('q' => 'test')
Capybara::DriverNotFoundError:
no driver called :webkit was found, available drivers: :rack_test, :selenium
# ./spec/features/source_sanity_check_spec.rb:81:in `block (2 levels) in <top (required)>'
36) Spectrum::Engines::Solr for searches with diacritics should find an author with diacritics
Failure/Error: eng.results.should_not be_empty
expected empty? to return false, got true
# ./spec/models/engines/solr/basic_tests_spec.rb:31:in `block (3 levels) in <top (required)>'
37) Spectrum::Engines::Solr search for "2165B*" in Catalog should find more than 2165B or 2165BAP alone
Failure/Error: eng_wildcard.total_items.should be > eng_b.total_items
expected: > 3991719
got: 3991719
# ./spec/models/engines/solr/basic_tests_spec.rb:68:in `block (3 levels) in <top (required)>'
38) Spectrum::Engines::Solr catalog all-field searches with embedded space-colon-space should return search results
Failure/Error: eng.results.first.get('title_display').should include('Clemens Krauss')
expected "Singers" to include "Clemens Krauss"
# ./spec/models/engines/solr/basic_tests_spec.rb:94:in `block (3 levels) in <top (required)>'
39) Spectrum::Engines::Summon with parameters should default to a clean search
Failure/Error: sum.params.should_not have_key('s.ho')
expected #has_key?("s.ho") to return false, got true
# ./spec/models/engines/summon/basic_tests_spec.rb:14:in `block (3 levels) in <top (required)>'
40) Spectrum::Engines::Summon with parameters should load in default options as necessary
Failure/Error: sum.params.should_not have_key('s.ho')
expected #has_key?("s.ho") to return false, got true
# ./spec/models/engines/summon/basic_tests_spec.rb:25:in `block (3 levels) in <top (required)>'
41) Spectrum::Engines::Summon basic articles search should not include newspaper articles
Failure/Error: @sum.search.query.facet_value_filters.should be_any { |f| f.negated? && f.value == "Newspaper Article" }
expected any? to return true, got false
# ./spec/models/engines/summon/basic_tests_spec.rb:52:in `block (3 levels) in <top (required)>'
42) User IP-addr lookups when checking an on-campus IP (128.59.1.1)
Failure/Error: User.on_campus?(ip).should be_true
expected: true value
got: false
# ./spec/models/user_spec.rb:55:in `block (5 levels) in <top (required)>'
# ./spec/models/user_spec.rb:54:in `block (4 levels) in <top (required)>'
Finished in 29.64 seconds
84 examples, 42 failures, 2 pending
Failed examples:
rspec ./spec/features/advanced_from_quicksearch_spec.rb:4 # The home page should let you perform a catalog advanced search
rspec ./spec/features/articles/pagination_links_spec.rb:5 # An articles search will have a next link that links to articles
rspec ./spec/features/articles/pagination_links_spec.rb:13 # An articles search will be able to traverse next and previous links
rspec ./spec/features/catalog/catalog_interface_spec.rb:5 # Catalog Advanced Search should default to 'All Fields'
rspec ./spec/features/catalog/linked_fields_spec.rb:8 # Linked field-values in single-item display should work including links with diacritics and trailing punctuation
rspec ./spec/features/catalog/linked_fields_spec.rb:35 # Linked field-values in single-item display should work including RDA roles, such as 'editor'
rspec ./spec/features/catalog/linked_fields_spec.rb:55 # Linked field-values in single-item display should work including RDA roles, such as 'author'
rspec ./spec/features/catalog/linked_fields_spec.rb:76 # Linked field-values in single-item display should work including ampersands and trailing punctuation
rspec ./spec/features/catalog/linked_fields_spec.rb:97 # Linked field-values in single-item display should work including ampersands and trailing punctuation
rspec ./spec/features/catalog/linked_fields_spec.rb:132 # Linked field-values in single-item display should work including RDA roles, such as 'author'
rspec ./spec/features/catalog/linked_fields_spec.rb:153 # Linked field-values in single-item display should work including trailing punctuation
rspec ./spec/features/html_escape_spec.rb:11 # Special HTML characters in MARC data should be escaped embedded HTML should not be interpretted
rspec ./spec/features/libraries_website/pagination_links_spec.rb:5 # A Libraries Website search will have a next link that links to library_web
rspec ./spec/features/libraries_website/pagination_links_spec.rb:13 # A Libraries Website search will be able to traverse next and previous links
rspec ./spec/features/library_hours_spec.rb:16 # Item Locations should show correct library hours for Avery Drawings & Archives
rspec ./spec/features/library_hours_spec.rb:26 # Item Locations should show correct library hours for Avery Classics
rspec ./spec/features/library_hours_spec.rb:35 # Item Locations should show correct library hours for Oral History Research Office
rspec ./spec/features/new_arrivals/new_arrivals_interface_spec.rb:6 # New Arrivals Search should show 4 distinct acquisition-date facet options
rspec ./spec/features/quicksearch_search_fields_spec.rb:4 # The home page should display search fields for archives, catalog, new arrivals, journals
rspec ./spec/features/search_boxes_cross_fill_spec.rb:4 # The home page will keep the text in a box across different sources on the landing pages
rspec ./spec/features/search_boxes_cross_fill_spec.rb:11 # The home page will switch the visible search box when a datasource is clicked upon
rspec ./spec/features/source_sanity_check_spec.rb:4 # All datasource labels should display on home-page including Libraries Website
rspec ./spec/features/source_sanity_check_spec.rb:11 # All of the datasources should successfully display results including quicksearch
rspec ./spec/features/source_sanity_check_spec.rb:19 # All of the datasources should successfully display results including catalog
rspec ./spec/features/source_sanity_check_spec.rb:24 # All of the datasources should successfully display results including articles
rspec ./spec/features/source_sanity_check_spec.rb:29 # All of the datasources should successfully display results including ejournals
rspec ./spec/features/source_sanity_check_spec.rb:34 # All of the datasources should successfully display results including databases
rspec ./spec/features/source_sanity_check_spec.rb:39 # All of the datasources should successfully display results including academic commons
rspec ./spec/features/source_sanity_check_spec.rb:44 # All of the datasources should successfully display results including the library web site
rspec ./spec/features/source_sanity_check_spec.rb:49 # All of the datasources should successfully display results including the archives
rspec ./spec/features/source_sanity_check_spec.rb:54 # All of the datasources should successfully display results including the bulldogs
rspec ./spec/features/source_sanity_check_spec.rb:59 # All of the datasources should successfully display results including the dissertations
rspec ./spec/features/source_sanity_check_spec.rb:67 # All of the datasources should successfully display results including the ebooks
rspec ./spec/features/source_sanity_check_spec.rb:75 # All of the datasources should successfully display results including the new arrivals
rspec ./spec/features/source_sanity_check_spec.rb:80 # All of the datasources should successfully display results including the newspapers
rspec ./spec/models/engines/solr/basic_tests_spec.rb:29 # Spectrum::Engines::Solr for searches with diacritics should find an author with diacritics
rspec ./spec/models/engines/solr/basic_tests_spec.rb:64 # Spectrum::Engines::Solr search for "2165B*" in Catalog should find more than 2165B or 2165BAP alone
rspec ./spec/models/engines/solr/basic_tests_spec.rb:89 # Spectrum::Engines::Solr catalog all-field searches with embedded space-colon-space should return search results
rspec ./spec/models/engines/summon/basic_tests_spec.rb:6 # Spectrum::Engines::Summon with parameters should default to a clean search
rspec ./spec/models/engines/summon/basic_tests_spec.rb:18 # Spectrum::Engines::Summon with parameters should load in default options as necessary
rspec ./spec/models/engines/summon/basic_tests_spec.rb:51 # Spectrum::Engines::Summon basic articles search should not include newspaper articles
rspec ./spec/models/user_spec.rb:53 # User IP-addr lookups when checking an on-campus IP (128.59.1.1)
rake db:migrate RAILS_ENV=test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment