mirror of
https://github.com/osukey/osukey.git
synced 2025-05-31 02:17:34 +09:00
Merge pull request #16166 from peppy/playlist-tests-wait-step
Add wait step to `TestScenePlaylistResultScreen` explicitly for screen load
This commit is contained in:
commit
51386bb48d
@ -168,12 +168,13 @@ namespace osu.Game.Tests.Visual.Playlists
|
|||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
AddUntilStep("wait for screen to load", () => resultsScreen.IsLoaded);
|
||||||
waitForDisplay();
|
waitForDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void waitForDisplay()
|
private void waitForDisplay()
|
||||||
{
|
{
|
||||||
AddUntilStep("wait for load to complete", () =>
|
AddUntilStep("wait for scores loaded", () =>
|
||||||
requestComplete
|
requestComplete
|
||||||
&& resultsScreen.ScorePanelList.GetScorePanels().Count() == totalCount
|
&& resultsScreen.ScorePanelList.GetScorePanels().Count() == totalCount
|
||||||
&& resultsScreen.ScorePanelList.AllPanelsVisible);
|
&& resultsScreen.ScorePanelList.AllPanelsVisible);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user