mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 08:59:41 +08: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.