mirror of
https://github.com/ppy/osu
synced 2024-12-11 17:42:28 +00:00
Actually test that player was exited
This commit is contained in:
parent
25312b3e88
commit
ae2b5a0806
@ -140,7 +140,7 @@ namespace osu.Game.Tests.Visual.Gameplay
|
||||
AddStep("disable storyboard", () => LocalConfig.SetValue(OsuSetting.ShowStoryboard, false));
|
||||
AddUntilStep("completion set by processor", () => Player.ScoreProcessor.HasCompleted.Value);
|
||||
AddStep("exit via pause", () => Player.ExitViaPause());
|
||||
AddAssert("score not shown", () => !Player.IsScoreShown);
|
||||
AddAssert("player exited", () => Stack.CurrentScreen == null);
|
||||
}
|
||||
|
||||
protected override bool AllowFail => true;
|
||||
|
Loading…
Reference in New Issue
Block a user