mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 11:13:22 +08:00
DEV: Skip system tests timing out on CI (#20835)
This commit is contained in:
parent
56fbdde0e5
commit
db3d30af3a
|
@ -8,6 +8,7 @@ describe "Composer using review_media", type: :system, js: true do
|
|||
let(:topic_page) { PageObjects::Pages::Topic.new }
|
||||
|
||||
before do
|
||||
skip("Currently flaky on CI")
|
||||
SiteSetting.review_media_unless_trust_level = 3
|
||||
sign_in user
|
||||
end
|
||||
|
@ -23,15 +24,14 @@ describe "Composer using review_media", type: :system, js: true do
|
|||
expect(page).not_to have_css(".post-enqueued-modal")
|
||||
end
|
||||
|
||||
# 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: ")
|
||||
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
Block a user