DEV: Remove superfluous js: true metadata (#21960)

Why this change?

It is very unlikely that we need to ever JS for system tests considering
that we rely on a JS framework on the frontend.
This commit is contained in:
Alan Guo Xiang Tan
2023-06-07 10:26:58 +09:00
committed by GitHub
parent 44446afe58
commit 41f8bff2c3
103 changed files with 108 additions and 114 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
describe "Composer Form Templates", type: :system, js: true do
describe "Composer Form Templates", type: :system do
fab!(:user) { Fabricate(:user) }
fab!(:form_template_1) do
Fabricate(:form_template, name: "Bug Reports", template: "- type: checkbox")

View File

@@ -1,8 +1,6 @@
# frozen_string_literal: true
describe "Default to Subcategory when parent Category doesn't allow posting",
type: :system,
js: true do
describe "Default to Subcategory when parent Category doesn't allow posting", type: :system do
fab!(:user) { Fabricate(:user) }
fab!(:group) { Fabricate(:group) }
fab!(:group_user) { Fabricate(:group_user, user: user, group: group) }

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
describe "Composer don't feed the trolls popup", type: :system, js: true do
describe "Composer don't feed the trolls popup", type: :system do
fab!(:user) { Fabricate(:user) }
fab!(:troll) { Fabricate(:user) }
fab!(:topic) { Fabricate(:topic, user: user) }

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
describe "Composer using review_media", type: :system, js: true do
describe "Composer using review_media", type: :system do
fab!(:user) { Fabricate(:user) }
fab!(:topic) { Fabricate(:topic, category: Category.find(SiteSetting.uncategorized_category_id)) }
fab!(:post) { Fabricate(:post, topic: topic) }