mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 11:42:54 +08:00
Attempt to salvage test by using until step
This commit is contained in:
parent
fe0433e6ec
commit
dbd4397bef
@ -79,7 +79,7 @@ namespace osu.Game.Tests.Visual.Navigation
|
||||
|
||||
AddStep("exit", () => Game.ChildrenOfType<Editor>().Single().Exit());
|
||||
|
||||
AddAssert("save dialog displayed", () => Game.ChildrenOfType<DialogOverlay>().Single().CurrentDialog is PromptForSaveDialog);
|
||||
AddUntilStep("save dialog displayed", () => Game.ChildrenOfType<DialogOverlay>().SingleOrDefault()?.CurrentDialog is PromptForSaveDialog);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
Loading…
Reference in New Issue
Block a user