From 78283bd98ab71a4132eb6aef583fffa0d4bfbbb5 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Fri, 20 Jun 2025 23:49:44 +0200 Subject: [PATCH] remove `js: true` from specs --- spec/system/admin_ai_features_spec.rb | 2 +- spec/system/admin_ai_persona_spec.rb | 2 +- spec/system/ai_artifact_key_value_api_spec.rb | 2 +- spec/system/ai_bot/ai_bot_helper_spec.rb | 2 +- spec/system/ai_bot/persona_spec.rb | 2 +- spec/system/ai_helper/ai_composer_helper_spec.rb | 2 +- spec/system/ai_helper/ai_image_caption_spec.rb | 2 +- spec/system/ai_helper/ai_post_helper_spec.rb | 2 +- spec/system/ai_helper/ai_proofreading_spec.rb | 2 +- spec/system/ai_helper/ai_split_topic_suggestion_spec.rb | 2 +- spec/system/ai_moderation/ai_spam_spec.rb | 2 +- spec/system/ai_user_preferences_spec.rb | 2 +- spec/system/embeddings/ai_embedding_definition_spec.rb | 2 +- spec/system/embeddings/semantic_search_spec.rb | 2 +- spec/system/llms/ai_llm_spec.rb | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/spec/system/admin_ai_features_spec.rb b/spec/system/admin_ai_features_spec.rb index f24dd9ed..296e2e0d 100644 --- a/spec/system/admin_ai_features_spec.rb +++ b/spec/system/admin_ai_features_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "Admin AI features configuration", type: :system, js: true do +RSpec.describe "Admin AI features configuration", type: :system do fab!(:admin) fab!(:llm_model) fab!(:summarization_persona) { Fabricate(:ai_persona) } diff --git a/spec/system/admin_ai_persona_spec.rb b/spec/system/admin_ai_persona_spec.rb index 344073f3..4676826b 100644 --- a/spec/system/admin_ai_persona_spec.rb +++ b/spec/system/admin_ai_persona_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "Admin AI persona configuration", type: :system, js: true do +RSpec.describe "Admin AI persona configuration", type: :system do fab!(:admin) let(:page_header) { PageObjects::Components::DPageHeader.new } let(:form) { PageObjects::Components::FormKit.new("form") } diff --git a/spec/system/ai_artifact_key_value_api_spec.rb b/spec/system/ai_artifact_key_value_api_spec.rb index 40aaf309..2fa1f963 100644 --- a/spec/system/ai_artifact_key_value_api_spec.rb +++ b/spec/system/ai_artifact_key_value_api_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI Artifact Key-Value API", type: :system, js: true do +RSpec.describe "AI Artifact Key-Value API", type: :system do fab!(:user) fab!(:private_message_topic) { Fabricate(:private_message_topic, user: user) } fab!(:private_message_post) { Fabricate(:post, topic: private_message_topic, user: user) } diff --git a/spec/system/ai_bot/ai_bot_helper_spec.rb b/spec/system/ai_bot/ai_bot_helper_spec.rb index b777c45a..fab34cc7 100644 --- a/spec/system/ai_bot/ai_bot_helper_spec.rb +++ b/spec/system/ai_bot/ai_bot_helper_spec.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true -RSpec.describe "AI chat channel summarization", type: :system, js: true do +RSpec.describe "AI chat channel summarization", type: :system do fab!(:user) fab!(:group) { Fabricate(:group, visibility_level: Group.visibility_levels[:staff]) } diff --git a/spec/system/ai_bot/persona_spec.rb b/spec/system/ai_bot/persona_spec.rb index 5c3883e6..02cbfc84 100644 --- a/spec/system/ai_bot/persona_spec.rb +++ b/spec/system/ai_bot/persona_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI personas", type: :system, js: true do +RSpec.describe "AI personas", type: :system do fab!(:admin) fab!(:gpt_4) { Fabricate(:llm_model, name: "gpt-4") } diff --git a/spec/system/ai_helper/ai_composer_helper_spec.rb b/spec/system/ai_helper/ai_composer_helper_spec.rb index b3539c17..414dc746 100644 --- a/spec/system/ai_helper/ai_composer_helper_spec.rb +++ b/spec/system/ai_helper/ai_composer_helper_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI Composer helper", type: :system, js: true do +RSpec.describe "AI Composer helper", type: :system do fab!(:user) { Fabricate(:admin, refresh_auto_groups: true) } fab!(:non_member_group) { Fabricate(:group) } fab!(:embedding_definition) diff --git a/spec/system/ai_helper/ai_image_caption_spec.rb b/spec/system/ai_helper/ai_image_caption_spec.rb index d034d28a..ae066f86 100644 --- a/spec/system/ai_helper/ai_image_caption_spec.rb +++ b/spec/system/ai_helper/ai_image_caption_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI image caption", type: :system, js: true do +RSpec.describe "AI image caption", type: :system do fab!(:user) { Fabricate(:admin, refresh_auto_groups: true) } fab!(:non_member_group) { Fabricate(:group) } let(:user_preferences_ai_page) { PageObjects::Pages::UserPreferencesAi.new } diff --git a/spec/system/ai_helper/ai_post_helper_spec.rb b/spec/system/ai_helper/ai_post_helper_spec.rb index 14c1b576..10bee845 100644 --- a/spec/system/ai_helper/ai_post_helper_spec.rb +++ b/spec/system/ai_helper/ai_post_helper_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI Post helper", type: :system, js: true do +RSpec.describe "AI Post helper", type: :system do fab!(:user) { Fabricate(:admin) } fab!(:non_member_group) { Fabricate(:group) } fab!(:topic) diff --git a/spec/system/ai_helper/ai_proofreading_spec.rb b/spec/system/ai_helper/ai_proofreading_spec.rb index b2e00733..991e8207 100644 --- a/spec/system/ai_helper/ai_proofreading_spec.rb +++ b/spec/system/ai_helper/ai_proofreading_spec.rb @@ -2,7 +2,7 @@ include SystemHelpers -RSpec.describe "AI Composer Proofreading Features", type: :system, js: true do +RSpec.describe "AI Composer Proofreading Features", type: :system do fab!(:admin) { Fabricate(:admin, refresh_auto_groups: true) } before do diff --git a/spec/system/ai_helper/ai_split_topic_suggestion_spec.rb b/spec/system/ai_helper/ai_split_topic_suggestion_spec.rb index 6cb3bdd9..2807921c 100644 --- a/spec/system/ai_helper/ai_split_topic_suggestion_spec.rb +++ b/spec/system/ai_helper/ai_split_topic_suggestion_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI Post helper", type: :system, js: true do +RSpec.describe "AI Post helper", type: :system do fab!(:user) { Fabricate(:admin) } fab!(:non_member_group) { Fabricate(:group) } fab!(:topic) diff --git a/spec/system/ai_moderation/ai_spam_spec.rb b/spec/system/ai_moderation/ai_spam_spec.rb index 4640b760..30662a99 100644 --- a/spec/system/ai_moderation/ai_spam_spec.rb +++ b/spec/system/ai_moderation/ai_spam_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI Spam Configuration", type: :system, js: true do +RSpec.describe "AI Spam Configuration", type: :system do fab!(:admin) let(:llm_model) { Fabricate(:llm_model) } diff --git a/spec/system/ai_user_preferences_spec.rb b/spec/system/ai_user_preferences_spec.rb index e5379da5..f039916d 100644 --- a/spec/system/ai_user_preferences_spec.rb +++ b/spec/system/ai_user_preferences_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "User AI preferences", type: :system, js: true do +RSpec.describe "User AI preferences", type: :system do fab!(:user) { Fabricate(:admin, refresh_auto_groups: true) } fab!(:llm_model) let(:user_preferences_ai_page) { PageObjects::Pages::UserPreferencesAi.new } diff --git a/spec/system/embeddings/ai_embedding_definition_spec.rb b/spec/system/embeddings/ai_embedding_definition_spec.rb index f20a3327..aa3e4b09 100644 --- a/spec/system/embeddings/ai_embedding_definition_spec.rb +++ b/spec/system/embeddings/ai_embedding_definition_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "Managing Embeddings configurations", type: :system, js: true do +RSpec.describe "Managing Embeddings configurations", type: :system do fab!(:admin) let(:page_header) { PageObjects::Components::DPageHeader.new } let(:form) { PageObjects::Components::FormKit.new("form") } diff --git a/spec/system/embeddings/semantic_search_spec.rb b/spec/system/embeddings/semantic_search_spec.rb index 4805989e..b07e78eb 100644 --- a/spec/system/embeddings/semantic_search_spec.rb +++ b/spec/system/embeddings/semantic_search_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "AI Composer helper", type: :system, js: true do +RSpec.describe "AI Composer helper", type: :system do let(:search_page) { PageObjects::Pages::Search.new } let(:query) { "apple_pie" } let(:hypothetical_post) { "This is an hypothetical post generated from the keyword apple_pie" } diff --git a/spec/system/llms/ai_llm_spec.rb b/spec/system/llms/ai_llm_spec.rb index 2fdb0339..8c3f2bb8 100644 --- a/spec/system/llms/ai_llm_spec.rb +++ b/spec/system/llms/ai_llm_spec.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -RSpec.describe "Managing LLM configurations", type: :system, js: true do +RSpec.describe "Managing LLM configurations", type: :system do fab!(:admin) let(:page_header) { PageObjects::Components::DPageHeader.new }