Skip to content

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

DEV: Adjust flaky bulk select spec (#26913)

Blake Erickson95302cc7ed53
diff --git a/spec/system/topic_bulk_select_spec.rb b/spec/system/topic_bulk_select_spec.rb
index 51cf3dca3b2..b42b6d343de 100644
--- a/spec/system/topic_bulk_select_spec.rb
+++ b/spec/system/topic_bulk_select_spec.rb
@@ -161,11 +161,10 @@ describe "Topic bulk select", type: :system do
it "closes topics silently" do
# Watch the topic as a user
sign_in(user)
- visit("/latest")
topic = topics.first
visit("/t/#{topic.slug}/#{topic.id}")
- topic_page.watch_topic
expect(topic_page).to have_read_post(1)
+ topic_page.watch_topic
# Bulk close the topic as an admin
sign_in(admin)