mirror of https://github.com/ppy/osu
Add more asserts to pause test in an attempt to track down intermittent test failures
This commit is contained in:
parent
869136b2fb
commit
5b1ae1210a
|
@ -157,6 +157,8 @@ private void exitAndConfirm()
|
|||
private void confirmPaused()
|
||||
{
|
||||
confirmClockRunning(false);
|
||||
AddAssert("player not exited", () => Player.IsCurrentScreen());
|
||||
AddAssert("player not failed", () => !Player.HasFailed);
|
||||
AddAssert("pause overlay shown", () => Player.PauseOverlayVisible);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue