Closed taylor-steve closed 3 months ago
FWIW these checks helped the tests pass for me locally. I had to add checks in a couple other places to get all the specs in that file to pass.
Here's a draft PR with a similar set of changes that got the tests passing for me locally: https://github.com/projectblacklight/spotlight/pull/3041
@corylown I added the additional changes from your PR plus one in uploaded_items_block_spec.rb
that was sometimes an issue. Things seem to be passing reliably for me on CI and local.
Playing around with solutions for #3039.
Trying to see if we can get Capybara to wait for the thumbnail.
Definitely seems to be load dependent. The tests get less flaky locally the further I get into Friday afternoon...