Skip to content

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

DEV: Fix a admin tag list spec flake (#40573)

Jarek Radosz4776f7f768e3
diff --git a/spec/system/admin_site_setting_tag_list_spec.rb b/spec/system/admin_site_setting_tag_list_spec.rb
index 7f8b45d146c..31290cec67e 100644
--- a/spec/system/admin_site_setting_tag_list_spec.rb
+++ b/spec/system/admin_site_setting_tag_list_spec.rb
@@ -18,6 +18,7 @@ RSpec.describe "Admin tag list site setting" do
tag_chooser.select_row_by_name(tag_1.name)
tag_chooser.search(tag_2.name)
tag_chooser.select_row_by_name(tag_2.name)
+ tag_chooser.collapse
expect(settings_page).to have_tags_in_setting("digest_suppress_tags", [tag_1, tag_2])