mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 02:02:53 +08:00
Add failing mod selector visibility test
This commit is contained in:
parent
c6264d5b3d
commit
5c138de446
@ -98,6 +98,7 @@ namespace osu.Game.Tests.Visual.Online
|
||||
|
||||
AddAssert("status is loved", () => overlay.ChildrenOfType<BeatmapSetOnlineStatusPill>().Single().Status == BeatmapOnlineStatus.Loved);
|
||||
AddAssert("scores container is visible", () => overlay.ChildrenOfType<ScoresContainer>().Single().Alpha == 1);
|
||||
AddAssert("mod selector is visible", () => overlay.ChildrenOfType<LeaderboardModSelector>().Single().Alpha == 1);
|
||||
|
||||
AddStep("go to second beatmap", () => overlay.ChildrenOfType<BeatmapPicker.DifficultySelectorButton>().ElementAt(1).TriggerClick());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user