1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-21 08:30:02 +08:00

Fix test failure

This commit is contained in:
Bartłomiej Dach
2025-05-14 14:41:22 +02:00
Unverified
parent c7bfd2a52e
commit 9899541fbb
@@ -249,14 +249,16 @@ namespace osu.Game.Tests.Visual.SongSelectV2
AddUntilStep("standalone panels displayed", () => GetVisiblePanels<PanelBeatmapStandalone>().Any());
SelectNextGroup();
WaitForSelection(0, 0);
// both sets have a difficulty with 0.00* star rating.
// in the case of a tie when sorting, the first tie-breaker is `DateAdded` descending, which will pick the last set added (see `TestResources.CreateTestBeatmapSetInfo()`).
WaitForSelection(1, 0);
SelectNextGroup();
WaitForSelection(1, 0);
WaitForSelection(0, 0);
SelectNextPanel();
Select();
WaitForSelection(0, 1);
WaitForSelection(1, 1);
}
private void checkSelectionIterating(bool isIterating)