mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 08:23:00 +08:00
Fix playlists lounge sub screen test potentially failing
This commit is contained in:
parent
7c2592ff3b
commit
47ef33e731
@ -37,6 +37,7 @@ namespace osu.Game.Tests.Visual.Playlists
|
||||
AddStep("reset mouse", () => InputManager.ReleaseButton(MouseButton.Left));
|
||||
|
||||
AddStep("add rooms", () => RoomManager.AddRooms(30));
|
||||
AddUntilStep("wait for rooms", () => roomsContainer.Rooms.Count == 30);
|
||||
|
||||
AddUntilStep("first room is not masked", () => checkRoomVisible(roomsContainer.Rooms[0]));
|
||||
|
||||
@ -53,6 +54,7 @@ namespace osu.Game.Tests.Visual.Playlists
|
||||
public void TestScrollSelectedIntoView()
|
||||
{
|
||||
AddStep("add rooms", () => RoomManager.AddRooms(30));
|
||||
AddUntilStep("wait for rooms", () => roomsContainer.Rooms.Count == 30);
|
||||
|
||||
AddUntilStep("first room is not masked", () => checkRoomVisible(roomsContainer.Rooms[0]));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user