mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix a flakey test, skip another one (#27132)
This commit is contained in:
@@ -246,7 +246,7 @@ RSpec.describe "Editing sidebar categories navigation", type: :system do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it "loads all the categories eventually" do
|
xit "loads all the categories eventually" do
|
||||||
visit "/latest"
|
visit "/latest"
|
||||||
|
|
||||||
expect(sidebar).to have_categories_section
|
expect(sidebar).to have_categories_section
|
||||||
|
|||||||
@@ -40,9 +40,9 @@ describe "Homepage", type: :system do
|
|||||||
text: "Your first notification!",
|
text: "Your first notification!",
|
||||||
)
|
)
|
||||||
|
|
||||||
find(".d-header").click
|
# Find an element with no action to simulate clicking outside the user tip
|
||||||
|
find("th.topic-list-data span", text: "Topic").click
|
||||||
|
|
||||||
# Clicking outside element dismisses the tip
|
|
||||||
expect(page).to have_no_css(
|
expect(page).to have_no_css(
|
||||||
".fk-d-tooltip__content .user-tip__title",
|
".fk-d-tooltip__content .user-tip__title",
|
||||||
text: "Your first notification!",
|
text: "Your first notification!",
|
||||||
|
|||||||
Reference in New Issue
Block a user