From b9598ad7d5ecb96c8d425991729f9e3800c4bfd2 Mon Sep 17 00:00:00 2001 From: Molly Struve Date: Mon, 14 Sep 2020 14:28:51 -0500 Subject: [PATCH] Flaky Spec Fix:Ensure We Fill In Article Content Successfully with More Targeted tag (#10330) --- spec/system/user_uses_the_editor_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/system/user_uses_the_editor_spec.rb b/spec/system/user_uses_the_editor_spec.rb index 16d9633c5..bf3a30536 100644 --- a/spec/system/user_uses_the_editor_spec.rb +++ b/spec/system/user_uses_the_editor_spec.rb @@ -19,7 +19,7 @@ RSpec.describe "Using the editor", type: :system do def fill_markdown_with(content) visit "/new" - fill_in "article_body_markdown", with: content + within("#article-form") { fill_in "article_body_markdown", with: content } end describe "Previewing an article", js: true do