mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Make test work without manually clicking things
This commit is contained in:
@ -72,10 +72,13 @@ namespace osu.Game.Tests.Visual.SongSelect
|
|||||||
Scale = new Vector2(1.5f),
|
Scale = new Vector2(1.5f),
|
||||||
Alpha = 0f,
|
Alpha = 0f,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
display.FadeIn(400, Easing.OutQuint);
|
||||||
});
|
});
|
||||||
|
|
||||||
AddStep("fade in", () => display.FadeIn(400, Easing.OutQuint));
|
AddWaitStep("wait a bit", 5);
|
||||||
AddToggleStep("trigger loading", v => display.Loading = v);
|
|
||||||
|
AddStep("finish loading", () => display.Loading = false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user