mirror of
https://github.com/ppy/osu
synced 2025-01-05 21:59:46 +00:00
Fix race condition in TestCaseLounge
This commit is contained in:
parent
4c14f547dd
commit
c60b8bba35
@ -167,6 +167,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
AddStep(@"set rooms", () => lounge.Rooms = rooms);
|
AddStep(@"set rooms", () => lounge.Rooms = rooms);
|
||||||
selectAssert(1);
|
selectAssert(1);
|
||||||
AddStep(@"open room 1", () => clickRoom(1));
|
AddStep(@"open room 1", () => clickRoom(1));
|
||||||
|
AddUntilStep(() => !lounge.IsCurrentScreen, "wait until room current");
|
||||||
AddStep(@"make lounge current", lounge.MakeCurrent);
|
AddStep(@"make lounge current", lounge.MakeCurrent);
|
||||||
filterAssert(@"THE FINAL", LoungeTab.Public, 1);
|
filterAssert(@"THE FINAL", LoungeTab.Public, 1);
|
||||||
filterAssert(string.Empty, LoungeTab.Public, 2);
|
filterAssert(string.Empty, LoungeTab.Public, 2);
|
||||||
|
Loading…
Reference in New Issue
Block a user