A platform for community discussion. Free, open, simple.
FIX: attempts to fix flaky in review media (#32787)
Joffrey JAFFEUXce03fff3752e
diff --git a/spec/system/composer/review_media_unless_trust_level_spec.rb b/spec/system/composer/review_media_unless_trust_level_spec.rbindex abb780993c9..9e149566a31 100644--- a/spec/system/composer/review_media_unless_trust_level_spec.rb+++ b/spec/system/composer/review_media_unless_trust_level_spec.rb@@ -17,7 +17,8 @@ describe "Composer using review_media", type: :system dotopic_page.visit_topic_and_open_composer(topic)topic_page.fill_in_composer(" this one has an emoji: :mask: ")- within(".d-editor-preview") { expect(page).to have_css(".emoji") }+ expect(page).to have_css(".d-editor-preview .emoji")+topic_page.send_replyexpect(topic_page).to have_post_number(2)