DEV: Remove flaky spec (#24641)

This commit is contained in:
Penar Musaraj 2023-11-29 22:06:27 -05:00 committed by GitHub
parent 7e013b2120
commit b00dbaa6c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 17 deletions

View File

@ -32,23 +32,6 @@ describe "Post small actions", type: :system do
expect(page).to have_css(".small-action .highlighted") expect(page).to have_css(".small-action .highlighted")
end end
it "applies lightbox decorations" do
post = Fabricate(:small_action, raw: "Enjoy this", topic: topic, action_code: "closed.enabled")
topic_page.visit_topic(topic)
expect(topic_page).to have_post_number(post.post_number)
find(".small-action-buttons .small-action-edit").click
attach_file file_from_fixtures("2000x2000.png").path do
composer.click_toolbar_button("upload")
end
expect(composer).to have_no_in_progress_uploads
composer.submit
expect(page).to have_css(".small-action .lightbox", wait: 5)
end
it "applies animated gif decorations" do it "applies animated gif decorations" do
post = post =
Fabricate(:small_action, raw: "Enjoy this gif", topic: topic, action_code: "closed.enabled") Fabricate(:small_action, raw: "Enjoy this gif", topic: topic, action_code: "closed.enabled")