discourse-ai/spec/system/admin_dashboard_spec.rb

26 lines
606 B
Ruby
Raw Normal View History

# frozen_string_literal: true
RSpec.describe "Admin dashboard", type: :system do
fab!(:admin)
2024-10-10 11:02:31 -04:00
xit "displays the sentiment dashboard" do
SiteSetting.ai_sentiment_enabled = true
sign_in(admin)
visit "/admin"
find(".navigation-item.sentiment").click()
expect(page).to have_css(".section.sentiment")
end
xit "displays the emotion table with links" do
SiteSetting.ai_sentiment_enabled = true
sign_in(admin)
visit "/admin"
find(".navigation-item.sentiment").click()
expect(page).to have_css(".admin-report.emotion-love .cell.value.today-count a")
end
end