Skip to content

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

DEV: Clean up `js: true` from recently bundled plugin specs (#33873)

Jarek Radosz4d5b841b39db
diff --git a/plugins/discourse-assign/spec/system/group_assigned_spec.rb b/plugins/discourse-assign/spec/system/group_assigned_spec.rb
index eb3ebb2e40b..a863fef91c4 100644
--- a/plugins/discourse-assign/spec/system/group_assigned_spec.rb
+++ b/plugins/discourse-assign/spec/system/group_assigned_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Assign | Group assigned", type: :system, js: true do
+RSpec.describe "Assign | Group assigned", type: :system do
fab!(:admin)
fab!(:group)
fab!(:topic)
diff --git a/plugins/discourse-assign/spec/system/group_preferences_spec.rb b/plugins/discourse-assign/spec/system/group_preferences_spec.rb
index 99d5ff9af4e..68c497bbe73 100644
--- a/plugins/discourse-assign/spec/system/group_preferences_spec.rb
+++ b/plugins/discourse-assign/spec/system/group_preferences_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Assign | Group Preferences", type: :system, js: true do
+RSpec.describe "Assign | Group Preferences", type: :system do
fab!(:admin)
fab!(:group)
diff --git a/plugins/discourse-assign/spec/system/user_menu_spec.rb b/plugins/discourse-assign/spec/system/user_menu_spec.rb
index ef0ab80bf0c..7ceed14dbd7 100644
--- a/plugins/discourse-assign/spec/system/user_menu_spec.rb
+++ b/plugins/discourse-assign/spec/system/user_menu_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Assign | User Menu", type: :system, js: true do
+RSpec.describe "Assign | User Menu", type: :system do
fab!(:admin)
let(:user_menu) { PageObjects::Components::UserMenu.new }
diff --git a/plugins/discourse-assign/spec/system/user_preferences_spec.rb b/plugins/discourse-assign/spec/system/user_preferences_spec.rb
index 595bd95bf74..5e23f8d62b1 100644
--- a/plugins/discourse-assign/spec/system/user_preferences_spec.rb
+++ b/plugins/discourse-assign/spec/system/user_preferences_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-describe "Assign | User Preferences", type: :system, js: true do
+describe "Assign | User Preferences", type: :system do
fab!(:user)
let(:selector) { "[data-setting-name='user-notification-level-when-assigned'] .combobox" }
diff --git a/plugins/discourse-data-explorer/spec/system/explorer_spec.rb b/plugins/discourse-data-explorer/spec/system/explorer_spec.rb
index 4449eb55823..7442eaf2ba9 100644
--- a/plugins/discourse-data-explorer/spec/system/explorer_spec.rb
+++ b/plugins/discourse-data-explorer/spec/system/explorer_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Explorer", type: :system, js: true do
+RSpec.describe "Explorer", type: :system do
fab!(:admin)
fab!(:group) { Fabricate(:group, name: "group") }
fab!(:group_user) { Fabricate(:group_user, user: admin, group: group) }
diff --git a/plugins/discourse-data-explorer/spec/system/param_input_spec.rb b/plugins/discourse-data-explorer/spec/system/param_input_spec.rb
index fe6efdd2a47..b25c0625cec 100644
--- a/plugins/discourse-data-explorer/spec/system/param_input_spec.rb
+++ b/plugins/discourse-data-explorer/spec/system/param_input_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Param input", type: :system, js: true do
+RSpec.describe "Param input", type: :system do
ALL_PARAMS_SQL = <<~SQL
-- [params]
-- int :int
diff --git a/plugins/discourse-data-explorer/spec/system/reports_spec.rb b/plugins/discourse-data-explorer/spec/system/reports_spec.rb
index a0da064d7e3..3a6fcda9674 100644
--- a/plugins/discourse-data-explorer/spec/system/reports_spec.rb
+++ b/plugins/discourse-data-explorer/spec/system/reports_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Reports", type: :system, js: true do
+RSpec.describe "Reports", type: :system do
fab!(:group) { Fabricate(:group, name: "group") }
fab!(:user) { Fabricate(:admin) }
fab!(:group_user) { Fabricate(:group_user, user: user, group: group) }
diff --git a/plugins/discourse-gamification/spec/system/admin_leaderboards_spec.rb b/plugins/discourse-gamification/spec/system/admin_leaderboards_spec.rb
index c12e372e905..ccbb1900541 100644
--- a/plugins/discourse-gamification/spec/system/admin_leaderboards_spec.rb
+++ b/plugins/discourse-gamification/spec/system/admin_leaderboards_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-describe "Admin leaderboards", type: :system, js: true do
+describe "Admin leaderboards", type: :system do
fab!(:current_user) { Fabricate(:admin) }
let(:admin_leaderboard_page) { PageObjects::Pages::AdminLeaderboards.new }
let(:dialog) { PageObjects::Components::Dialog.new }
diff --git a/plugins/discourse-reactions/spec/system/reaction_notifications_spec.rb b/plugins/discourse-reactions/spec/system/reaction_notifications_spec.rb
index 09d4ecb8061..1b8586aea25 100644
--- a/plugins/discourse-reactions/spec/system/reaction_notifications_spec.rb
+++ b/plugins/discourse-reactions/spec/system/reaction_notifications_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-describe "Reactions | Notifications", type: :system, js: true do
+describe "Reactions | Notifications", type: :system do
fab!(:current_user, :user)
fab!(:acting_user_1) { Fabricate(:user, name: "Bruce Wayne I") }
fab!(:acting_user_2) { Fabricate(:user, name: "Bruce Wayne II") }
diff --git a/plugins/discourse-reactions/spec/system/reactions_activity_spec.rb b/plugins/discourse-reactions/spec/system/reactions_activity_spec.rb
index de6d8fa7ea3..996308e163d 100644
--- a/plugins/discourse-reactions/spec/system/reactions_activity_spec.rb
+++ b/plugins/discourse-reactions/spec/system/reactions_activity_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-describe "Reactions | Activity", type: :system, js: true do
+describe "Reactions | Activity", type: :system do
fab!(:current_user, :user)
before do
diff --git a/plugins/discourse-reactions/spec/system/reactions_post_list_spec.rb b/plugins/discourse-reactions/spec/system/reactions_post_list_spec.rb
index bdd21d04bbb..a60430db258 100644
--- a/plugins/discourse-reactions/spec/system/reactions_post_list_spec.rb
+++ b/plugins/discourse-reactions/spec/system/reactions_post_list_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-describe "Reactions | Post reaction user list", type: :system, js: true do
+describe "Reactions | Post reaction user list", type: :system do
fab!(:current_user, :user)
fab!(:user_2, :user)
fab!(:user_3, :user)
diff --git a/plugins/discourse-subscriptions/spec/system/campaign_banner_spec.rb b/plugins/discourse-subscriptions/spec/system/campaign_banner_spec.rb
index fb253371edc..693bbfcec09 100644
--- a/plugins/discourse-subscriptions/spec/system/campaign_banner_spec.rb
+++ b/plugins/discourse-subscriptions/spec/system/campaign_banner_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Campaign Banner", type: :system, js: true do
+RSpec.describe "Campaign Banner", type: :system do
fab!(:user)
fab!(:contributor) { Fabricate(:user, username: "contributor1") }
diff --git a/plugins/discourse-subscriptions/spec/system/pricing_table_spec.rb b/plugins/discourse-subscriptions/spec/system/pricing_table_spec.rb
index dd4e60571fc..57639800248 100644
--- a/plugins/discourse-subscriptions/spec/system/pricing_table_spec.rb
+++ b/plugins/discourse-subscriptions/spec/system/pricing_table_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Pricing Table", type: :system, js: true do
+RSpec.describe "Pricing Table", type: :system do
fab!(:admin)
fab!(:product) { Fabricate(:product, external_id: "prod_OiK") }
let(:dialog) { PageObjects::Components::Dialog.new }
diff --git a/plugins/discourse-topic-voting/spec/system/voting_spec.rb b/plugins/discourse-topic-voting/spec/system/voting_spec.rb
index 4236511973b..99d22ea95c1 100644
--- a/plugins/discourse-topic-voting/spec/system/voting_spec.rb
+++ b/plugins/discourse-topic-voting/spec/system/voting_spec.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-RSpec.describe "Topic voting", type: :system, js: true do
+RSpec.describe "Topic voting", type: :system do
fab!(:user)
fab!(:admin) { Fabricate(:admin, trust_level: TrustLevel[4]) }
fab!(:category1) { Fabricate(:category) }