Failures:
1) Blacklight::FacetItemPivotComponent links to the facet and shows the number of hits
Failure/Error: expect(rendered).to have_link 'x', href: '/catalog?f%5Bz%5D=x'
expected `#<Capybara::Node::Simple tag="" path="/">.has_link?("x", {:href=>"/catalog?f%5Bz%5D=x"})` to be truthy, got false
# ./spec/components/blacklight/facet_item_pivot_component_spec.rb:39:in `block (2 levels) in <top (required)>'
2) Blacklight::FacetItemPivotComponent has the facet hierarchy
Failure/Error: expect(rendered).to have_link 'x:1', href: /f%5Bz%5D%5B%5D=x:1/
expected `#<Capybara::Node::Simple tag="" path="/">.has_link?("x:1", {:href=>/f%5Bz%5D%5B%5D=x:1/})` to be truthy, got false
# ./spec/components/blacklight/facet_item_pivot_component_spec.rb:46:in `block (2 levels) in <top (required)>'
I hacked in a dump of the rendered source that is going to Capybara in that component test, and I am seeing:
So the failures in main are coming from an expectation that the bracket characters in the query string passed to link_to will be escaped, and they don't appear to be.
Last passing CI: Using nokogiri 1.14.3 (x86_64-linux)First failing CI: Using nokogiri 1.15.2 (x86_64-linux)
Pinning local branch to nokogiri 1.14.3, CI suite passes
There are 2 failures in
main
:I hacked in a dump of the rendered source that is going to Capybara in that component test, and I am seeing:
So the failures in main are coming from an expectation that the bracket characters in the query string passed to link_to will be escaped, and they don't appear to be.
Last passing CI:
Using nokogiri 1.14.3 (x86_64-linux)
First failing CI:Using nokogiri 1.15.2 (x86_64-linux)
Pinning local branch to nokogiri 1.14.3, CI suite passesNokogiri 1.15.0 changelog:
libxml2 v2.11.0 changelog: