diff --git a/spec/system/page_objects/pages/topic.rb b/spec/system/page_objects/pages/topic.rb index 4f5e4ece67b..5e5000c6e28 100644 --- a/spec/system/page_objects/pages/topic.rb +++ b/spec/system/page_objects/pages/topic.rb @@ -301,6 +301,7 @@ module PageObjects end def open_flag_topic_modal + expect(page).to have_css(".flag-topic", wait: Capybara.default_max_wait_time * 3) find(".flag-topic").click end