mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
447e07b38d
failing spec: spec/features/work_packages/progress_modal_spec.rb:195 failing run: https://github.com/opf/openproject/actions/runs/21204407008/job/60997306384 In the spec, another page is visited during the test, meaning the internal ids of the capybara elements may not be the same as the ones before the page is reloaded. This is a problem because the `progress_popover` caches the container element, and it's not valid anymore (it's stale). One fix could be to create a new `progress_popover` instance after the other page is visited. I found it better to be able to pass a lambda for the container element to the `progress_popover` constructor, so that it always gets it afresh and will never be stale.