mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:43:20 +08:00
Add test coverage of remote player quitting immediately quitting locally
This commit is contained in:
parent
ed5375536f
commit
73ad92189b
@ -332,6 +332,8 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
AddStep("send quit", () => spectatorClient.SendEndPlay(streamingUser.Id));
|
AddStep("send quit", () => spectatorClient.SendEndPlay(streamingUser.Id));
|
||||||
AddUntilStep("state is quit", () => spectatorClient.WatchedUserStates[streamingUser.Id].State == SpectatedUserState.Quit);
|
AddUntilStep("state is quit", () => spectatorClient.WatchedUserStates[streamingUser.Id].State == SpectatedUserState.Quit);
|
||||||
|
|
||||||
|
AddAssert("wait for player exit", () => Stack.CurrentScreen is SoloSpectatorScreen);
|
||||||
|
|
||||||
start();
|
start();
|
||||||
sendFrames();
|
sendFrames();
|
||||||
waitForPlayer();
|
waitForPlayer();
|
||||||
|
Loading…
Reference in New Issue
Block a user