Add until step to ensure failure

This commit is contained in:
Bartłomiej Dach 2020-08-20 21:01:58 +02:00
parent 8b8fff2766
commit bd4acdce78
1 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,8 @@ public TestSceneMultiScreen()
{
Screens.Multi.Multiplayer multi = new Screens.Multi.Multiplayer();
AddStep(@"show", () => LoadScreen(multi));
AddStep("show", () => LoadScreen(multi));
AddUntilStep("wait for loaded", () => multi.IsLoaded);
}
}
}