Sha256: d36c1705316d4604560492bdcab10f9cd1a36d7d13b1189bcff4e92ac97ed3b3

Contents?: true

Size: 960 Bytes

Versions: 12

Compression:

Stored size: 960 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

feature 'Missing metadata', js: true do
  scenario 'Yields error free results page for no spatial' do
    visit search_catalog_path(q: 'ASTER Global Emissivity')
    expect(page).to have_css('#map')
  end
  scenario 'Yields error free show page for no wxs_identifier or spatial' do
    visit solr_document_path('aster-global-emissivity-dataset-1-kilometer-v003-ag1kmcad20')
    expect(page).to have_css('#map')
  end
  scenario 'Yields error free show page for no layer_geom_type_s' do
    visit solr_document_path('05d-03-noGeomType')
    expect(page).to have_css('#map')
  end
  scenario 'Yields error free show page for no dct_provenance_s' do
    visit solr_document_path('99-0001-noProvenance')
    expect(page).to have_css('#map')
  end
  scenario 'Yields error free show page for no solr_geom' do
    visit solr_document_path('05d-p16022coll246-noGeo')
    expect(page).to have_css('#map')
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 spec/features/missing_metadata_spec.rb
geoblacklight-3.8.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.7.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.6.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.5.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.4.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.3.1 spec/features/missing_metadata_spec.rb
geoblacklight-3.3.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.2.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.1.0 spec/features/missing_metadata_spec.rb
geoblacklight-3.0.1 spec/features/missing_metadata_spec.rb
geoblacklight-3.0.0 spec/features/missing_metadata_spec.rb