Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix a flakey test, skip another one (#27132)

Penar Musaraj9d7f374c0f05
diff --git a/spec/system/editing_sidebar_categories_navigation_spec.rb b/spec/system/editing_sidebar_categories_navigation_spec.rb
index f9b9252a8ae..de53872afa9 100644
--- a/spec/system/editing_sidebar_categories_navigation_spec.rb
+++ b/spec/system/editing_sidebar_categories_navigation_spec.rb
@@ -246,7 +246,7 @@ RSpec.describe "Editing sidebar categories navigation", type: :system do
end
end
- it "loads all the categories eventually" do
+ xit "loads all the categories eventually" do
visit "/latest"
expect(sidebar).to have_categories_section
diff --git a/spec/system/user_tips_spec.rb b/spec/system/user_tips_spec.rb
index db187c08c09..2d73155b7ea 100644
--- a/spec/system/user_tips_spec.rb
+++ b/spec/system/user_tips_spec.rb
@@ -40,9 +40,9 @@ describe "Homepage", type: :system do
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(
".fk-d-tooltip__content .user-tip__title",
text: "Your first notification!",