sul-dlss / exhibits

Stanford University Libraries online exhibits showcase
https://exhibits.stanford.edu
Other
20 stars 7 forks source link

Exhibits specs relying on sul-embed prod #2603

Closed corylown closed 2 weeks ago

corylown commented 1 month ago

These tests fail when sul-embed prod is not available. Can we rewrite the specs so they don't rely on a production system?

 rspec ./spec/features/embed_block_spec.rb:37 # Solr Documents Embed Block block editing form allows curators to set the maxheight paramter sent to the Embed
rspec ./spec/features/embed_block_spec.rb:20 # Solr Documents Embed Block block editing form has a number field to input the hight (with a default placeholder)
rspec ./spec/features/metadata_display_spec.rb:74 # Metadata display nested related items in modal are togglable
rspec ./spec/features/metadata_display_spec.rb:24 # Metadata display page behavior opens view metadata in modal
rspec ./spec/features/metadata_display_spec.rb:16 # Metadata display page behavior view metadata link links through to page
rspec ./spec/features/viewers_spec.rb:129 # Viewers PURL link Parker Theme hides the PURL link
rspec ./spec/features/bibliography_indexing_spec.rb:18 # Bibliography indexing indexes an item and makes it available to search
rspec ./spec/features/bibliography_display_manuscript_spec.rb:37 # Bibliography display on the manuscript show page async loading of the sorted, formatted bibliography
rspec ./spec/features/bibliography_display_manuscript_spec.rb:29 # Bibliography display on the manuscript show page bibliography element data required by async loader
rspec ./spec/features/bibliography_display_manuscript_spec.rb:77 # Bibliography display on the manuscript show page when there are no associated bibliography documents returned the bibliography section is rendered (but not visible)
rspec ./spec/features/bibliography_display_manuscript_spec.rb:57 # Bibliography display on the manuscript show page large bibliographies are togglable