mirror of
https://github.com/ppy/osu.git
synced 2024-11-07 21:47:28 +08:00
Update test expectations based on new screen order
This commit is contained in:
parent
a50dd2ae93
commit
b902e69634
@ -178,7 +178,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
{
|
{
|
||||||
AddStep("step to next", () => overlay.NextButton.TriggerClick());
|
AddStep("step to next", () => overlay.NextButton.TriggerClick());
|
||||||
|
|
||||||
AddAssert("is at known screen", () => overlay.CurrentScreen is ScreenUIScale);
|
AddAssert("is at known screen", () => overlay.CurrentScreen is ScreenBeatmaps);
|
||||||
|
|
||||||
AddStep("hide", () => overlay.Hide());
|
AddStep("hide", () => overlay.Hide());
|
||||||
AddAssert("overlay hidden", () => overlay.State.Value == Visibility.Hidden);
|
AddAssert("overlay hidden", () => overlay.State.Value == Visibility.Hidden);
|
||||||
@ -188,7 +188,7 @@ namespace osu.Game.Tests.Visual.UserInterface
|
|||||||
AddStep("run notification action", () => lastNotification.Activated());
|
AddStep("run notification action", () => lastNotification.Activated());
|
||||||
|
|
||||||
AddAssert("overlay shown", () => overlay.State.Value == Visibility.Visible);
|
AddAssert("overlay shown", () => overlay.State.Value == Visibility.Visible);
|
||||||
AddAssert("is resumed", () => overlay.CurrentScreen is ScreenUIScale);
|
AddAssert("is resumed", () => overlay.CurrentScreen is ScreenBeatmaps);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user