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:
parent
1f24dca1cc
commit
4ac3f02b39
|
|
@ -73,7 +73,7 @@ describe "Assign | Assigning topics", type: :system, js: true do
|
||||||
expect(page).to have_no_css("#topic .assigned-to")
|
expect(page).to have_no_css("#topic .assigned-to")
|
||||||
end
|
end
|
||||||
|
|
||||||
xit "can assign the previous assignee" do
|
it "can assign the previous assignee", capture_log: true do
|
||||||
visit "/t/#{topic.id}"
|
visit "/t/#{topic.id}"
|
||||||
|
|
||||||
topic_page.click_assign_topic
|
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
|
context "when reassign_on_open is set to true" do
|
||||||
before { SiteSetting.reassign_on_open = true }
|
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}"
|
visit "/t/#{topic.id}"
|
||||||
|
|
||||||
topic_page.click_assign_topic
|
topic_page.click_assign_topic
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue