Skip to content

Resolve "spec/features/issues/filtered_search/dropdown_label_spec.rb takes 10 minutes to run"

What does this MR do?

It basically remove the need to sleep by using Capybara's capabilities to wait on elements that are not visible at a certain time but becomes visible at some point (before Capybara's timeout, hopefully!).

See https://github.com/teamcapybara/capybara#asynchronous-javascript-ajax-and-friends and the commit message for more details.

Closes #27564 (closed)

/cc @ClemMakesApps

Merge request reports