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.
This commit is contained in:
Alan Guo Xiang Tan 2024-01-03 13:11:03 +08:00 committed by GitHub
parent 1f24dca1cc
commit 4ac3f02b39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ describe "Assign | Assigning topics", type: :system, js: true do
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 @@ describe "Assign | Assigning topics", type: :system, js: true do
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