Display a loading animation when the user is connecting

This commit is contained in:
Lucas A
2020-01-19 20:24:46 +01:00
parent e1f172e3f8
commit 6d51b344ab
2 changed files with 46 additions and 15 deletions

View File

@ -57,6 +57,10 @@ namespace osu.Game.Tests.Visual.Online
AddStep("set status to online", () => ((DummyAPIAccess)API).State = APIState.Online);
AddAssert("children are visible", () => onlineView.Children.First().Parent.IsPresent);
AddStep("set status to connecting", () => ((DummyAPIAccess)API).State = APIState.Connecting);
AddAssert("children are hidden", () => !onlineView.Children.First().Parent.IsPresent);
}
}
}