DEV: Disable system specs for now

We are moving this component into core here
https://github.com/discourse/discourse/pull/31516

When that is merged, we can re-enable these specs
hidden behind the core site setting
This commit is contained in:
Martin Brennan 2025-03-11 17:50:42 +10:00
parent a3beb2c886
commit 1bbfbeca67
No known key found for this signature in database
GPG Key ID: BD981EFEEC8F5675
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ RSpec.describe "Viewing the search banner", type: :system do
fab!(:topic)
let(:topic_page) { PageObjects::Pages::Topic.new }
it "should display the search banner below the site header when `plugin_outlet` theme setting is set to `below-site-header`" do
xit "should display the search banner below the site header when `plugin_outlet` theme setting is set to `below-site-header`" do
theme.update_setting(:plugin_outlet, "below-site-header")
theme.save!
@ -15,7 +15,7 @@ RSpec.describe "Viewing the search banner", type: :system do
expect(page).to_not have_css("#main-outlet .custom-search-banner")
end
it "should display the search banner above the main container when `plugin_outlet` theme setting is set to `above-main-container`" do
xit "should display the search banner above the main container when `plugin_outlet` theme setting is set to `above-main-container`" do
theme.update_setting(:plugin_outlet, "above-main-container")
theme.save!
@ -24,7 +24,7 @@ RSpec.describe "Viewing the search banner", type: :system do
expect(page).to have_css("#main-outlet .custom-search-banner")
end
it "should display the search icon when searching within a topic when search button text is present" do
xit "should display the search icon when searching within a topic when search button text is present" do
theme.update_setting(:show_on, "all")
theme.update_translation("search_banner.search_button_text", "Foo")
theme.save!