1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Remove redundant test step

This commit is contained in:
TocoToucan 2018-05-01 03:56:01 +03:00
parent d18a8ec9f5
commit 3b84ce7c9f

View File

@ -26,7 +26,7 @@ namespace osu.Game.Tests.Visual
var text = holdToQuit.Children.OfType<SpriteText>().Single();
AddStep("Text fade in", () =>
AddStep("Trigger text fade in/out", () =>
{
exitAction = false;
holdToQuit.Button.TriggerOnMouseDown();
@ -34,14 +34,6 @@ namespace osu.Game.Tests.Visual
});
AddUntilStep(() => text.IsPresent && !exitAction, "Text visible");
AddStep("Text fade out", () =>
{
exitAction = false;
holdToQuit.Button.TriggerOnMouseDown();
holdToQuit.Button.TriggerOnMouseUp();
});
AddUntilStep(() => !text.IsPresent && !exitAction, "Text is not visible");
AddStep("Trigger exit action", () =>