Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/views/shared/_header_navbar.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@

<div class="justify-content-md-end row">
<%= link_to 'About', '/about', class: 'btn btn-outline-dark btn-sm mr-2' %>
<%= link_to 'Advanced search', advanced_search_catalog_path, class: 'btn btn-outline-dark btn-sm mr-2' %>
<%= link_to 'Add My Work', EtdaUtilities::Hosts.workflow_url, class: 'btn btn-outline-dark btn-sm' %>
</div>
</div>
Expand Down
8 changes: 8 additions & 0 deletions spec/integration/home_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@
expect(page).not_to have_css 'meta[@name="citation_publication_date"]'
expect(page).not_to have_css 'meta[@name="citation_pdf_url"]'
end

it 'has link to advanced search' do
click_link 'Advanced search'
expect(page).to have_current_path('/catalog/advanced')
expect(page).to have_content('Advanced search')
expect(page).to have_content('AND have these attributes')
expect(page).to have_content('Search tips')
end
end

context 'when a user is logged in' do
Expand Down