Skip to content

Commit

Permalink
Merge pull request #2216 from cul-it/DACCESS-472
Browse files Browse the repository at this point in the history
DACCESS-472 - fix bookmarks item details page navigation
  • Loading branch information
sarah-cul authored Jan 18, 2025
2 parents 281619e + 1137933 commit 7a40707
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
1 change: 0 additions & 1 deletion blacklight-cornell/config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@

resources :bookmarks do
concerns :exportable
concerns :searchable

collection do
delete "clear"
Expand Down
16 changes: 16 additions & 0 deletions blacklight-cornell/features/catalog_search/bookmarks.feature
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,19 @@ Feature: Bookmarks for anonymous users
Then I should see the CUWebLogin page
Then I clear login required

@bookmarks_view_item_details
Scenario: I should be able to view the item details page for a selected item
Given I am on the home page
When I fill in the search box with 'Encyclopedia of pain'
And I press 'search'
Then I should get results
Then I select the first 1 catalog results
And I sleep 3 seconds
When I view my selected items
Then I should be on 'the bookmarks page'
And there should be 1 items selected
Then I click on link "Encyclopedia of pain"
Then I should see "Encyclopedia of pain"
Then I click on link "Back to selected items"
Then I should be on 'the bookmarks page'
And there should be 1 items selected

0 comments on commit 7a40707

Please sign in to comment.