dev: removes messages section from sidebar (#1477)

This commit is contained in:
Yuriy Kurant 2025-07-01 15:23:11 +08:00 committed by GitHub
parent 4ad64ed3b6
commit 8527279594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -211,7 +211,6 @@ RSpec.describe "AI Bot - Homepage", type: :system do
expect(ai_pm_homepage).to have_homepage
expect(sidebar).to have_no_tags_section
expect(sidebar).to have_no_section("categories")
expect(sidebar).to have_no_section("messages")
expect(sidebar).to have_no_section("chat-dms")
expect(sidebar).to have_no_section("chat-channels")
expect(sidebar).to have_no_section("user-threads")
@ -405,7 +404,6 @@ RSpec.describe "AI Bot - Homepage", type: :system do
topic_page.visit_topic(pm)
expect(sidebar).to have_section("categories")
expect(sidebar).to have_section("messages")
expect(sidebar).to have_section("chat-dms")
expect(sidebar).to have_no_css("button.ai-new-question-button")
end