Fix failing tests due to CurrentDialog being unexpectedly not set after Push

This commit is contained in:
Dean Herbert
2022-05-05 01:52:39 +09:00
parent 383245f43a
commit a27fcda9f1
2 changed files with 12 additions and 17 deletions

View File

@ -105,8 +105,6 @@ namespace osu.Game.Tests.Visual.UserInterface
});
});
AddAssert("dialog not displayed", () => overlay.CurrentDialog != dialog);
AddStep("complete load", () => ((SlowLoadingDialogOverlay)overlay).LoadEvent.Set());
AddUntilStep("wait for load", () => overlay.IsLoaded);