1
0
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:
Bartłomiej Dach 2024-02-02 13:32:16 +01:00
parent fe0433e6ec
commit dbd4397bef
No known key found for this signature in database

View File

@ -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]