mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 14:17:26 +08:00
Rename test steps
Co-authored-by: Joseph Madamba <madamba.joehu@outlook.com>
This commit is contained in:
parent
4c15794694
commit
3909e5730e
@ -518,7 +518,7 @@ namespace osu.Game.Tests.Visual.Navigation
|
|||||||
{
|
{
|
||||||
ChangelogOverlay getChangelogOverlay() => Game.ChildrenOfType<ChangelogOverlay>().FirstOrDefault();
|
ChangelogOverlay getChangelogOverlay() => Game.ChildrenOfType<ChangelogOverlay>().FirstOrDefault();
|
||||||
|
|
||||||
AddUntilStep("Wait for options to load", () => Game.Notifications.IsLoaded);
|
AddUntilStep("Wait for notifications to load", () => Game.Notifications.IsLoaded);
|
||||||
AddStep("Show notifications", () => Game.Notifications.Show());
|
AddStep("Show notifications", () => Game.Notifications.Show());
|
||||||
AddUntilStep("wait for notifications shown", () => Game.Notifications.IsPresent && Game.Notifications.State.Value == Visibility.Visible);
|
AddUntilStep("wait for notifications shown", () => Game.Notifications.IsPresent && Game.Notifications.State.Value == Visibility.Visible);
|
||||||
AddStep("Show changelog listing", () => Game.ShowChangelogListing());
|
AddStep("Show changelog listing", () => Game.ShowChangelogListing());
|
||||||
@ -535,7 +535,7 @@ namespace osu.Game.Tests.Visual.Navigation
|
|||||||
{
|
{
|
||||||
ChangelogOverlay getChangelogOverlay() => Game.ChildrenOfType<ChangelogOverlay>().FirstOrDefault();
|
ChangelogOverlay getChangelogOverlay() => Game.ChildrenOfType<ChangelogOverlay>().FirstOrDefault();
|
||||||
|
|
||||||
AddUntilStep("Wait for options to load", () => Game.Settings.IsLoaded);
|
AddUntilStep("Wait for settings to load", () => Game.Settings.IsLoaded);
|
||||||
AddStep("Show settings", () => Game.Settings.Show());
|
AddStep("Show settings", () => Game.Settings.Show());
|
||||||
AddUntilStep("wait for settings shown", () => Game.Settings.IsPresent && Game.Settings.State.Value == Visibility.Visible);
|
AddUntilStep("wait for settings shown", () => Game.Settings.IsPresent && Game.Settings.State.Value == Visibility.Visible);
|
||||||
AddStep("Show changelog listing", () => Game.ShowChangelogListing());
|
AddStep("Show changelog listing", () => Game.ShowChangelogListing());
|
||||||
|
Loading…
Reference in New Issue
Block a user