Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initializing the browse list to the steps for running the tests #3805

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

carolyncole
Copy link
Member

I had 16 failures until I initialized the browse lists

Finished in 8 minutes 52 seconds (files took 5.6 seconds to load)
1722 examples, 16 failures, 22 pending

Failed examples:

rspec ./spec/features/browsables_spec.rb:11 # Browsables Browse by Call Number with an LC call number displays two browse entries before exact match
rspec ./spec/features/browsables_spec.rb:14 # Browsables Browse by Call Number with an LC call number has a call number link
rspec ./spec/features/browsables_spec.rb:17 # Browsables Browse by Call Number with an LC call number has the library name if it exists
rspec ./spec/features/browsables_spec.rb:26 # Browsables Browse by Call Number with oversize CDs sorts Oversize CDs with other CDs
rspec ./spec/requests/orangelight/browse_spec.rb:26 # Orangelight Browsables Paging Functionality per page value can be set
rspec ./spec/requests/orangelight/browse_spec.rb:31 # Orangelight Browsables Paging Functionality start parameter sets which db entry to return first
rspec ./spec/requests/orangelight/browse_spec.rb:37 # Orangelight Browsables Paging Functionality sets rpp=50 if rpp value is not in [10, 25, 50, 100]
rspec ./spec/requests/orangelight/browse_spec.rb:43 # Orangelight Browsables Paging Functionality shows last complete page if start param > db entries for any accepted rpp
rspec ./spec/requests/orangelight/browse_spec.rb:55 # Orangelight Browsables Paging Functionality shows the first page if start param < 1
rspec ./spec/requests/orangelight/browse_spec.rb:63 # Orangelight Browsables Browse Call Number Search escapes call number browse link urls
rspec ./spec/requests/orangelight/browse_spec.rb:67 # Orangelight Browsables Browse Call Number Search displays full publisher information
rspec ./spec/requests/orangelight/browse_spec.rb:72 # Orangelight Browsables Browse Call Number Search displays pub_created_vern_display field
rspec ./spec/requests/orangelight/browse_spec.rb:77 # Orangelight Browsables Browse Call Number Search displays author_s when author_display is not present
rspec ./spec/requests/orangelight/browse_spec.rb:86 # Orangelight Browsables Multiple locations/titles formats multiple titles as n titles with this call number
rspec ./spec/requests/orangelight/browse_spec.rb:92 # Orangelight Browsables Multiple locations/titles single title with multiple holdings in same location, display single location
rspec ./spec/requests/orangelight/browse_spec.rb:98 # Orangelight Browsables Multiple locations/titles single title with multiple locations

I had 16 failures until I initialized the browse lists
```
Finished in 8 minutes 52 seconds (files took 5.6 seconds to load)
1722 examples, 16 failures, 22 pending

Failed examples:

rspec ./spec/features/browsables_spec.rb:11 # Browsables Browse by Call Number with an LC call number displays two browse entries before exact match
rspec ./spec/features/browsables_spec.rb:14 # Browsables Browse by Call Number with an LC call number has a call number link
rspec ./spec/features/browsables_spec.rb:17 # Browsables Browse by Call Number with an LC call number has the library name if it exists
rspec ./spec/features/browsables_spec.rb:26 # Browsables Browse by Call Number with oversize CDs sorts Oversize CDs with other CDs
rspec ./spec/requests/orangelight/browse_spec.rb:26 # Orangelight Browsables Paging Functionality per page value can be set
rspec ./spec/requests/orangelight/browse_spec.rb:31 # Orangelight Browsables Paging Functionality start parameter sets which db entry to return first
rspec ./spec/requests/orangelight/browse_spec.rb:37 # Orangelight Browsables Paging Functionality sets rpp=50 if rpp value is not in [10, 25, 50, 100]
rspec ./spec/requests/orangelight/browse_spec.rb:43 # Orangelight Browsables Paging Functionality shows last complete page if start param > db entries for any accepted rpp
rspec ./spec/requests/orangelight/browse_spec.rb:55 # Orangelight Browsables Paging Functionality shows the first page if start param < 1
rspec ./spec/requests/orangelight/browse_spec.rb:63 # Orangelight Browsables Browse Call Number Search escapes call number browse link urls
rspec ./spec/requests/orangelight/browse_spec.rb:67 # Orangelight Browsables Browse Call Number Search displays full publisher information
rspec ./spec/requests/orangelight/browse_spec.rb:72 # Orangelight Browsables Browse Call Number Search displays pub_created_vern_display field
rspec ./spec/requests/orangelight/browse_spec.rb:77 # Orangelight Browsables Browse Call Number Search displays author_s when author_display is not present
rspec ./spec/requests/orangelight/browse_spec.rb:86 # Orangelight Browsables Multiple locations/titles formats multiple titles as n titles with this call number
rspec ./spec/requests/orangelight/browse_spec.rb:92 # Orangelight Browsables Multiple locations/titles single title with multiple holdings in same location, display single location
rspec ./spec/requests/orangelight/browse_spec.rb:98 # Orangelight Browsables Multiple locations/titles single title with multiple locations
```
README.md Outdated
@@ -76,6 +76,9 @@ bundle exec cap staging deploy # deploys main branch to staging
```
*Note: You can stop everything with `rake servers:stop`

1. initialiaze the browse lists
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @carolyncole . Can you correct the typo to -> initialize

README.md Outdated Show resolved Hide resolved
Copy link
Member

@christinach christinach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @carolyncole !

@coveralls
Copy link

Coverage Status

coverage: 95.454%. remained the same when pulling 2520ef3 on carolyncole-patch-1 into 1d720af on main.

@sandbergja sandbergja merged commit 7d35e4a into main Nov 2, 2023
3 checks passed
@sandbergja sandbergja deleted the carolyncole-patch-1 branch November 2, 2023 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants