Skip to content

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

DEV: Speed up slow system tests (#21803)

Alan Guo Xiang Tan7fdede9f0fb5
diff --git a/spec/system/page_objects/components/select_kit.rb b/spec/system/page_objects/components/select_kit.rb
index 6419552c1fa..aeafd85406d 100644
--- a/spec/system/page_objects/components/select_kit.rb
+++ b/spec/system/page_objects/components/select_kit.rb
@@ -27,7 +27,7 @@ module PageObjects
end
def is_collapsed?
- has_css?(context + ":not(.is-expanded)")
+ has_css?(context + ":not(.is-expanded)", wait: 0)
end
def has_selected_value?(value)