1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 04:02:57 +08:00
This commit is contained in:
Andrei Zavatski 2019-10-30 04:31:09 +03:00
parent 8ad5ccda68
commit 759395bcb5

View File

@ -40,16 +40,16 @@ namespace osu.Game.Tests.Visual.Online
AddStep("User comment", () => addVotePill(userComment));
AddStep("Click", () => votePill.Click());
AddAssert("Not loading", () => votePill.IsLoading == false);
AddAssert("Not loading", () => !votePill.IsLoading);
AddStep("Random comment", () => addVotePill(randomComment));
AddStep("Click", () => votePill.Click());
AddAssert("Loading", () => votePill.IsLoading == true);
AddAssert("Loading", () => votePill.IsLoading);
AddStep("Log out", API.Logout);
AddStep("Random comment", () => addVotePill(randomComment));
AddStep("Click", () => votePill.Click());
AddAssert("Not loading", () => votePill.IsLoading == false);
AddAssert("Not loading", () => !votePill.IsLoading);
}
private void addVotePill(Comment comment)