Skip to content

A platform for community discussion. Free, open, simple.

FIX: flakey due to 0 width/height images (#29700)

Joffrey JAFFEUXc4de8565ecee
diff --git a/plugins/chat/test/javascripts/components/chat-message-collapser-test.js b/plugins/chat/test/javascripts/components/chat-message-collapser-test.js
index 91a77fba4b6..ac6e8fe2034 100644
--- a/plugins/chat/test/javascripts/components/chat-message-collapser-test.js
+++ b/plugins/chat/test/javascripts/components/chat-message-collapser-test.js
@@ -13,9 +13,9 @@ const youtubeCooked =
const animatedImageCooked =
"<p>written text</p>" +
- '<p><img src="/images/avatar.png" class="animated onebox"></img></p>' +
+ '<p><img src="/images/avatar.png" width="8" height="8" class="animated onebox"></img></p>' +
"<p>more written text</p>" +
- '<p><img src="/images/d-logo-sketch-small.png" class="animated onebox"></img></p>' +
+ '<p><img src="/images/d-logo-sketch-small.png" width="8" height="8" class="animated onebox"></img></p>' +
"<p>and even more</p>";
const externalImageCooked =