Skip to content

Commit

Permalink
DEV: Unskip flaky tests and capture logs (#541)
Browse files Browse the repository at this point in the history
Why this change?

The tests are supposedly flaky but we are unskipping them and capturing
logs to figure out why.
  • Loading branch information
tgxworld authored Jan 3, 2024
1 parent 1f24dca commit 4ac3f02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/assign_topic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4ac3f02

Please sign in to comment.