Add testing

This commit is contained in:
Andrei Zavatski 2019-09-29 14:56:33 +03:00
parent 907f73ef8f
commit 97a0e0097f
1 changed files with 8 additions and 0 deletions

View File

@ -106,6 +106,14 @@ protected override void LoadComplete()
Country = new Country { FullName = @"Japan", FlagName = @"JP" },
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c6.jpg"
}, api.IsLoggedIn));
AddStep("Show bancho", () => profile.ShowUser(new User
{
Username = @"BanchoBot",
Id = 3,
IsBot = true,
Country = new Country { FullName = @"Saint Helena", FlagName = @"SH" },
CoverUrl = @"https://osu.ppy.sh/images/headers/profile-covers/c4.jpg"
}, api.IsLoggedIn));
AddStep("Hide", profile.Hide);
AddStep("Show without reload", profile.Show);