Flaky Spec Fix:Ensure We Fill In Article Content Successfully with More Targeted tag (#10330)

This commit is contained in:
Molly Struve 2020-09-14 14:28:51 -05:00 committed by GitHub
parent 1aa8233d9e
commit b9598ad7d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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