1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-30 07:59:54 +08:00

Add test coverage of long messages

This commit is contained in:
Dean Herbert
2025-07-29 15:12:00 +09:00
Unverified
parent aa4afa8776
commit 8560c74c70
@@ -93,6 +93,17 @@ namespace osu.Game.Tests.Visual.Online
}
}
[Test]
public void TestLongMessages()
{
AddStep("close overlay", () => testContainer.ChatOverlay.Hide());
AddStep("long public", () => receiveMessage(friend, publicChannel, $"For some reason there were no tests testing very long messages, even though there should have been. Why {API.LocalUser.Value.Username} why?"));
AddStep("long private",
() => receiveMessage(friend, privateMessageChannel, "For no good reason, we were not testing very long messages and how the notifications display when the message can't fit"));
}
[Test]
public void TestPublicChannelMention()
{