Files
openproject/spec/support/pages
Christophe Bliard 447e07b38d Fix flaky spec in progress_modal_spec
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.
2026-01-22 15:30:43 +01:00
..
2025-05-05 09:29:55 +02:00
2025-09-10 10:53:31 +02:00
2025-05-05 09:29:55 +02:00
2025-05-05 09:29:55 +02:00
2025-05-05 09:29:55 +02:00
2025-05-05 09:29:55 +02:00
2025-05-05 09:29:55 +02:00