mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 06:03:08 +08:00
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 @@ namespace osu.Game.Tests.Visual.Gameplay
|
|||||||
private void confirmPaused()
|
private void confirmPaused()
|
||||||
{
|
{
|
||||||
confirmClockRunning(false);
|
confirmClockRunning(false);
|
||||||
|
AddAssert("player not exited", () => Player.IsCurrentScreen());
|
||||||
|
AddAssert("player not failed", () => !Player.HasFailed);
|
||||||
AddAssert("pause overlay shown", () => Player.PauseOverlayVisible);
|
AddAssert("pause overlay shown", () => Player.PauseOverlayVisible);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user