A platform for community discussion. Free, open, simple.
DEV: Fix flake in category_templates_spec (#35274)
David Taylor0c254ba501ef
diff --git a/spec/system/composer/category_templates_spec.rb b/spec/system/composer/category_templates_spec.rbindex 8c1446b1fd1..2e6a573edf5 100644--- a/spec/system/composer/category_templates_spec.rb+++ b/spec/system/composer/category_templates_spec.rb@@ -543,7 +543,7 @@ describe "Composer Form Templates", type: :system doexpect(find(".d-editor-preview")).to have_content(message)attach_file("5-uploader", "#{Rails.root}/spec/fixtures/images/logo.png", make_visible: true)- expect(find(".d-editor-preview")).to have_css("img")+ expect(page).to have_css(".d-editor-preview img")endcontext "when using tagchooser" do