Add test coverage for info message failing to display

This commit is contained in:
Bartłomiej Dach 2023-05-06 15:26:29 +02:00
parent 6b4050ea52
commit fba3c587cf
No known key found for this signature in database

View File

@ -648,6 +648,7 @@ namespace osu.Game.Tests.Visual.Online
AddUntilStep("Overlay closed", () => !this.ChildrenOfType<ReportChatPopover>().Any());
AddStep("Complete request", () => requestLock.Set());
AddUntilStep("Request sent", () => request != null);
AddUntilStep("Info message displayed", () => channelManager.CurrentChannel.Value.Messages.Last(), () => Is.InstanceOf(typeof(InfoMessage)));
}
private void joinTestChannel(int i)