1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-28 06:52:55 +08:00

Add more tests

This commit is contained in:
Andrei Zavatski 2019-10-30 03:47:17 +03:00
parent f1a2643c40
commit 7f755fe726

View File

@ -44,6 +44,9 @@ namespace osu.Game.Tests.Visual.Online
AddStep("User comment", () => addVotePill(userComment)); AddStep("User comment", () => addVotePill(userComment));
AddStep("Click", () => votePill.Click()); AddStep("Click", () => votePill.Click());
AddAssert("Not loading", () => votePill.IsLoading == false); AddAssert("Not loading", () => votePill.IsLoading == false);
AddStep("Log out", API.Logout);
AddStep("Click", () => votePill.Click());
AddAssert("Not loading", () => votePill.IsLoading == false);
} }
private void addVotePill(Comment comment) private void addVotePill(Comment comment)