mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 19:29:51 +00:00
Why this change? Before this change, we were doing a partial match when checking for existence. This is a source of flaky tests because a chat message with text `this is a message` will match any substring like `message` or `a`. What does this change do? This change removes the partial match and instead opts for the `exact_text` option instead.