Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix spec due to form assertion (#40163)

Natalie Tayb5adb37b3879
diff --git a/plugins/discourse-data-explorer/spec/system/ai_query_generation_spec.rb b/plugins/discourse-data-explorer/spec/system/ai_query_generation_spec.rb
index 8b3d94a76fe..15d43b3247b 100644
--- a/plugins/discourse-data-explorer/spec/system/ai_query_generation_spec.rb
+++ b/plugins/discourse-data-explorer/spec/system/ai_query_generation_spec.rb
@@ -16,7 +16,7 @@ RSpec.describe "Data Explorer AI query generation" do
expect(page).to have_css(".query-new")
expect(page).to have_no_css(".query-mode-switch")
- expect(page).to have_css(".query-new__manual-form")
+ expect(page).to have_css(".query-new [data-name='name']")
expect(page).to have_no_css(".query-new__ai-section")
end
end