From 4ac3f02b3995a494230feb4d86b0c3e5faf4409a Mon Sep 17 00:00:00 2001 From: Alan Guo Xiang Tan Date: Wed, 3 Jan 2024 13:11:03 +0800 Subject: [PATCH] DEV: Unskip flaky tests and capture logs (#541) Why this change? The tests are supposedly flaky but we are unskipping them and capturing logs to figure out why. --- spec/system/assign_topic_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/system/assign_topic_spec.rb b/spec/system/assign_topic_spec.rb index f3148a88..916ab409 100644 --- a/spec/system/assign_topic_spec.rb +++ b/spec/system/assign_topic_spec.rb @@ -73,7 +73,7 @@ expect(page).to have_no_css("#topic .assigned-to") end - xit "can assign the previous assignee" do + it "can assign the previous assignee", capture_log: true do visit "/t/#{topic.id}" topic_page.click_assign_topic @@ -103,7 +103,7 @@ context "when reassign_on_open is set to true" do before { SiteSetting.reassign_on_open = true } - skip "reassigns the topic on open" do + it "reassigns the topic on open", capture_log: true do visit "/t/#{topic.id}" topic_page.click_assign_topic