A platform for community discussion. Free, open, simple.
DEV: fix flaky admin_customize_themes spec (#26798)
Krzysztof Kotlarek0bfa37eb2d02
diff --git a/spec/system/admin_customize_themes_spec.rb b/spec/system/admin_customize_themes_spec.rbindex 0403aef2510..1ef231e9553 100644--- a/spec/system/admin_customize_themes_spec.rb+++ b/spec/system/admin_customize_themes_spec.rb@@ -53,7 +53,7 @@ describe "Admin Customize Themes", type: :system doendit "switching between themes and components tabs keeps the search visible only if both tabs have at least 10 items" do- 6.times { Fabricate(:theme) }+ (1..6).each { |number| Fabricate(:theme, component: false, name: "Cool theme #{number}") }(1..5).each { |number| Fabricate(:theme, component: true, name: "Cool component #{number}") }visit("/admin/customize/themes")