You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attempts to fix flaky specs (#2974)
* Fix flaky spec
The shared example creates work with a random UUID
from the factory, so work.id[0] is unpredictable.
The fix overrides let(:work) in the UUID context
to use the fixed work_id, so work.id[0] is always '8'
— distinct from 'c' (collection) and '9' (private work),
guaranteeing each sitemap bucket request returns
exactly the expected documents.
* Collection type spec
Another attempted fix for this flaky spec.
Looking for the path change rather than a flash message.