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:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user