mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 14:32:55 +08:00
Add failing test coverage for quick retry after completion not changing rank
This commit is contained in:
parent
24b1d1e955
commit
7140eee870
@ -259,6 +259,7 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
var getOriginalPlayer = playToCompletion();
|
||||
|
||||
AddStep("attempt to retry", () => getOriginalPlayer().ChildrenOfType<HotkeyRetryOverlay>().First().Action());
|
||||
AddAssert("original play isn't failed", () => getOriginalPlayer().Score.ScoreInfo.Rank, () => Is.Not.EqualTo(ScoreRank.F));
|
||||
AddUntilStep("wait for player", () => Game.ScreenStack.CurrentScreen != getOriginalPlayer() && Game.ScreenStack.CurrentScreen is Player);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user