A platform for community discussion. Free, open, simple.
DEV: faster browse page spec (#21814)
Joffrey JAFFEUX5abe98afb5c4
diff --git a/plugins/chat/spec/system/page_objects/chat/browse_page.rb b/plugins/chat/spec/system/page_objects/chat/browse_page.rbindex 1f8298d9a42..eaff9fa1bf9 100644--- a/plugins/chat/spec/system/page_objects/chat/browse_page.rb+++ b/plugins/chat/spec/system/page_objects/chat/browse_page.rb@@ -8,13 +8,13 @@ module PageObjectsenddef has_finished_loading?- component.has_css?(".loading-container .spinner")+ component.has_css?(".loading-container .spinner", wait: 0)component.has_no_css?(".loading-container .spinner")enddef search(query)component.find(".dc-filter-input").fill_in(with: query)- component.has_css?(".loading-container .spinner")+ component.has_css?(".loading-container .spinner", wait: 0)component.has_no_css?(".loading-container .spinner")end