mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Display a loading animation when the user is connecting
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user