Sha256: b69a3bf6c097d068ed9c7d07995dfdc90da93ce7f7d0661fc11c5118730141f8

Contents?: true

Size: 956 Bytes

Versions: 4

Compression:

Stored size: 956 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_provider_s' do
    visit solr_document_path('99-0001-noprovider')
    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

4 entries across 4 versions & 1 rubygems

Version Path
geoblacklight-4.0.0.pre.alpha.3 spec/features/missing_metadata_spec.rb
geoblacklight-4.0.0.pre.alpha.2 spec/features/missing_metadata_spec.rb
geoblacklight-4.0.0.pre.alpha.1 spec/features/missing_metadata_spec.rb
geoblacklight-4.0.0.pre.alpha spec/features/missing_metadata_spec.rb