Use until steps instead

Ah..
This commit is contained in:
Salman Ahmed
2021-04-15 00:48:15 +03:00
parent a5fa14ac4a
commit 7a9ff2ab38

View File

@ -72,8 +72,8 @@ namespace osu.Game.Tests.Visual.Background
public void TestUserSettingsIgnoredOnSongSelect()
{
setupUserSettings();
AddAssert("Screen is undimmed", () => songSelect.IsBackgroundUndimmed());
AddAssert("Screen using background blur", () => songSelect.IsBackgroundBlur());
AddUntilStep("Screen is undimmed", () => songSelect.IsBackgroundUndimmed());
AddUntilStep("Screen using background blur", () => songSelect.IsBackgroundBlur());
performFullSetup();
AddStep("Exit to song select", () => player.Exit());
AddUntilStep("Screen is undimmed", () => songSelect.IsBackgroundUndimmed());