Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix a chat search spec flake (#40068)

Jarek Radosz4168942494b9
diff --git a/plugins/chat/spec/system/page_objects/pages/chat_search.rb b/plugins/chat/spec/system/page_objects/pages/chat_search.rb
index 401ea9777f1..90f2538ded4 100644
--- a/plugins/chat/spec/system/page_objects/pages/chat_search.rb
+++ b/plugins/chat/spec/system/page_objects/pages/chat_search.rb
@@ -55,13 +55,6 @@ module PageObjects
def scroll_to_bottom
page.execute_script("window.scrollTo(0, document.body.scrollHeight)")
- wait_for_loading
- self
- end
-
- def wait_for_loading
- has_selector?(".chat-search-loading .spinner")
- has_no_selector?(".chat-search-loading .spinner")
self
end