DEV: Remove unnecessary js: true options from specs (#24463)

This commit is contained in:
Jarek Radosz
2023-11-20 17:22:14 +01:00
committed by GitHub
parent 8968887e24
commit 89bd2b7df0
8 changed files with 11 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
RSpec.describe "Chat | composer | channel", type: :system, js: true do
RSpec.describe "Chat | composer | channel", type: :system do
fab!(:channel_1) { Fabricate(:chat_channel) }
fab!(:message_1) { Fabricate(:chat_message, chat_channel: channel_1) }
fab!(:current_user) { Fabricate(:admin) }

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
RSpec.describe "Chat | composer | thread", type: :system, js: true do
RSpec.describe "Chat | composer | thread", type: :system do
fab!(:channel_1) { Fabricate(:chat_channel, threading_enabled: true) }
fab!(:current_user) { Fabricate(:admin) }
fab!(:message_1) do

View File

@@ -1,16 +1,12 @@
# frozen_string_literal: true
RSpec.describe "Summarize a channel since your last visit", type: :system, js: true do
RSpec.describe "Summarize a channel since your last visit", type: :system do
fab!(:current_user) { Fabricate(:user) }
fab!(:group)
let(:plugin) { Plugin::Instance.new }
fab!(:channel) { Fabricate(:chat_channel) }
fab!(:message_1) { Fabricate(:chat_message, chat_channel: channel) }
let(:chat) { PageObjects::Pages::Chat.new }
let(:plugin) { Plugin::Instance.new }
let(:summarization_result) { { summary: "This is a summary", chunks: [] } }
before do