1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-31 15:10:44 +08:00

Fix test being sensitive to selected tab on new song select

This commit is contained in:
Bartłomiej Dach
2025-05-30 10:02:40 +02:00
Unverified
parent efbdd3fffb
commit 9d0d3bb97a
@@ -312,8 +312,8 @@ namespace osu.Game.Tests.Visual.Navigation
AddStep("set game volume to max", () => Game.Dependencies.Get<FrameworkConfigManager>().SetValue(FrameworkSetting.VolumeUniversal, 1d));
AddStep("move to metadata wedge", () => InputManager.MoveMouseTo(
songSelect.ChildrenOfType<BeatmapMetadataWedge>().Single()));
AddStep("move to details area", () => InputManager.MoveMouseTo(
songSelect.ChildrenOfType<BeatmapDetailsArea>().Single()));
AddStep("scroll down", () => InputManager.ScrollVerticalBy(-1));
AddAssert("carousel didn't move", getCarouselScrollPosition, () => Is.EqualTo(scrollPosition));