Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests broken #77

Open
justinlittman opened this issue Nov 20, 2023 · 0 comments
Open

Tests broken #77

justinlittman opened this issue Nov 20, 2023 · 0 comments

Comments

@justinlittman
Copy link
Contributor

 ~/data/sdr/blacklight-hierarchy/ [no_coveralls] bundle exec rake ci

....

Done generating test app
/Users/jlittman/.rbenv/versions/3.1.2/bin/ruby -I/Users/jlittman/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rspec-core-3.12.2/lib:/Users/jlittman/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rspec-support-3.12.1/lib /Users/jlittman/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rspec-core-3.12.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
FFFFFFFF.

Failures:

  1) config_1 behaves like catalog facet tree without repeated nodes should display the hierarchy
     Failure/Error: expect(page).to have_selector('li.h-node[data-controller="b-h-collapsible"]', text: 'a')
       expected to find css "li.h-node[data-controller=\"b-h-collapsible\"]" but there were no matches
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:98
     # ./spec/features/basic_spec.rb:34:in `block (3 levels) in <top (required)>'

  2) config_1 behaves like catalog facet tree without repeated nodes should properly link the hierarchy
     Failure/Error: expect(page.all(:css, 'li.h-leaf a').map { |a| a[:href].to_s }).to include(root_path('f' => { 'tag_facet' => ['n'] }))
       expected [] to include "/?f%5Btag_facet%5D%5B%5D=n"
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:98
     # ./spec/features/basic_spec.rb:50:in `block (3 levels) in <top (required)>'

  3) config_1 behaves like catalog facet tree without repeated nodes should work with a different value delimiter
     Failure/Error: expect(page).to have_selector('li.h-node', text: 'f')
       expected to find css "li.h-node" but there were no matches
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:98
     # ./spec/features/basic_spec.rb:57:in `block (3 levels) in <top (required)>'

  4) config_1 behaves like catalog facet tree with repeated nodes should display all child nodes when a node value is repeated at its child level
     Failure/Error: expect(page).to have_selector('li.h-node', text: 'm')
       expected to find css "li.h-node" but there were no matches
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:98
     # ./spec/features/basic_spec.rb:87:in `block (3 levels) in <top (required)>'

  5) config_2 behaves like catalog facet tree without repeated nodes should display the hierarchy
     Failure/Error: expect(page).to have_selector('li.h-node[data-controller="b-h-collapsible"]', text: 'a')
       expected to find css "li.h-node[data-controller=\"b-h-collapsible\"]" but there were no matches
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:117
     # ./spec/features/basic_spec.rb:34:in `block (3 levels) in <top (required)>'

  6) config_2 behaves like catalog facet tree without repeated nodes should properly link the hierarchy
     Failure/Error: expect(page.all(:css, 'li.h-leaf a').map { |a| a[:href].to_s }).to include(root_path('f' => { 'tag_facet' => ['n'] }))
       expected [] to include "/?f%5Btag_facet%5D%5B%5D=n"
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:117
     # ./spec/features/basic_spec.rb:50:in `block (3 levels) in <top (required)>'

  7) config_2 behaves like catalog facet tree without repeated nodes should work with a different value delimiter
     Failure/Error: expect(page).to have_selector('li.h-node', text: 'f')
       expected to find css "li.h-node" but there were no matches
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:117
     # ./spec/features/basic_spec.rb:57:in `block (3 levels) in <top (required)>'

  8) config_2 behaves like catalog facet tree with repeated nodes should display all child nodes when a node value is repeated at its child level
     Failure/Error: expect(page).to have_selector('li.h-node', text: 'm')
       expected to find css "li.h-node" but there were no matches
     Shared Example Group: "catalog" called from ./spec/features/basic_spec.rb:117
     # ./spec/features/basic_spec.rb:87:in `block (3 levels) in <top (required)>'

Finished in 8.33 seconds (files took 3.28 seconds to load)
9 examples, 8 failures

Failed examples:

rspec './spec/features/basic_spec.rb[1:1:1:1]' # config_1 behaves like catalog facet tree without repeated nodes should display the hierarchy
rspec './spec/features/basic_spec.rb[1:1:1:2]' # config_1 behaves like catalog facet tree without repeated nodes should properly link the hierarchy
rspec './spec/features/basic_spec.rb[1:1:1:3]' # config_1 behaves like catalog facet tree without repeated nodes should work with a different value delimiter
rspec './spec/features/basic_spec.rb[1:1:2:1]' # config_1 behaves like catalog facet tree with repeated nodes should display all child nodes when a node value is repeated at its child level
rspec './spec/features/basic_spec.rb[2:1:1:1]' # config_2 behaves like catalog facet tree without repeated nodes should display the hierarchy
rspec './spec/features/basic_spec.rb[2:1:1:2]' # config_2 behaves like catalog facet tree without repeated nodes should properly link the hierarchy
rspec './spec/features/basic_spec.rb[2:1:1:3]' # config_2 behaves like catalog facet tree without repeated nodes should work with a different value delimiter
rspec './spec/features/basic_spec.rb[2:1:2:1]' # config_2 behaves like catalog facet tree with repeated nodes should display all child nodes when a node value is repeated at its child level

/Users/jlittman/.rbenv/versions/3.1.2/bin/ruby -I/Users/jlittman/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rspec-core-3.12.2/lib:/Users/jlittman/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rspec-support-3.12.1/lib /Users/jlittman/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/rspec-core-3.12.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant