public void TestLoginSuccess() { AddStep("logout", () => API.Logout()); AddStep("enter password", () => loginPanel.ChildrenOfType <OsuPasswordTextBox>().First().Text = "password"); AddStep("submit", () => loginPanel.ChildrenOfType <OsuButton>().First(b => b.Text.ToString() == "Sign in").TriggerClick()); }