1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 23:12:56 +08:00

Add test coverage of remote player quitting immediately quitting locally

This commit is contained in:
Dean Herbert 2023-11-23 12:07:01 +09:00
parent ed5375536f
commit 73ad92189b
No known key found for this signature in database

View File

@ -332,6 +332,8 @@ namespace osu.Game.Tests.Visual.Gameplay
AddStep("send quit", () => spectatorClient.SendEndPlay(streamingUser.Id));
AddUntilStep("state is quit", () => spectatorClient.WatchedUserStates[streamingUser.Id].State == SpectatedUserState.Quit);
AddAssert("wait for player exit", () => Stack.CurrentScreen is SoloSpectatorScreen);
start();
sendFrames();
waitForPlayer();