diff --git a/spec/support/capybara/custom_extensions.rb b/spec/support/capybara/custom_extensions.rb index dbd72248a..b8a65287a 100644 --- a/spec/support/capybara/custom_extensions.rb +++ b/spec/support/capybara/custom_extensions.rb @@ -54,6 +54,12 @@ module ZammadCapybarActionDelegator end end + def click_link(...) + super.tap do + await_empty_ajax_queue + end + end + def click_link_or_button(...) super.tap do await_empty_ajax_queue