mirror of
https://github.com/ppy/osu
synced 2025-01-21 05:20:50 +00:00
Add test coverage of remote user failing immediately failing locally
This commit is contained in:
parent
b024065857
commit
51e2ce500d
@ -352,6 +352,8 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
AddStep("send failed", () => spectatorClient.SendEndPlay(streamingUser.Id, SpectatedUserState.Failed));
|
||||
AddUntilStep("state is failed", () => spectatorClient.WatchedUserStates[streamingUser.Id].State == SpectatedUserState.Failed);
|
||||
|
||||
AddUntilStep("wait for player to fail", () => player.GameplayState.HasFailed);
|
||||
|
||||
start();
|
||||
sendFrames();
|
||||
waitForPlayer();
|
||||
|
Loading…
Reference in New Issue
Block a user