DEV: Disable test to see if this is what's causing ci failures (#20809)
This commit is contained in:
parent
fc3c737a7f
commit
bc8ab33708
|
@ -23,14 +23,15 @@ describe "Composer using review_media", type: :system, js: true do
|
|||
expect(page).not_to have_css(".post-enqueued-modal")
|
||||
end
|
||||
|
||||
it "flags a post with an image" do
|
||||
topic_page.visit_topic_and_open_composer(topic)
|
||||
topic_page.fill_in_composer(" this one has an upload: ")
|
||||
# Skip this test to see if it fixes our CI issue (Pending tests are stlil run)
|
||||
# it "flags a post with an image" do
|
||||
# topic_page.visit_topic_and_open_composer(topic)
|
||||
# topic_page.fill_in_composer(" this one has an upload: ")
|
||||
|
||||
attach_file "file-uploader", "#{Rails.root}/spec/fixtures/images/logo.jpg", make_visible: true
|
||||
within(".d-editor-preview") { expect(page).to have_css("img") }
|
||||
topic_page.send_reply
|
||||
# attach_file "file-uploader", "#{Rails.root}/spec/fixtures/images/logo.jpg", make_visible: true
|
||||
# within(".d-editor-preview") { expect(page).to have_css("img") }
|
||||
# topic_page.send_reply
|
||||
|
||||
expect(page).to have_css(".post-enqueued-modal")
|
||||
end
|
||||
# expect(page).to have_css(".post-enqueued-modal")
|
||||
# end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue