public void CanCreateADailyRule() { LoginPage.GoTo(); LoginPage.LoginAs("*****@*****.**") .WithPassword("123Test!@#") .Login(); ListWfm.GoToSetup(SetupType.DailyRules); ListDailyRules.CreateDailyRule(Helper.nameGenerator("IVrule")).Create(); ListDailyRules.GoToNewRule(); Assert.AreEqual(DailyRulePage.getTitle(), DailyRulePage.Title, "Title did not match!"); }
public void Cleanup() { DailyRulePage.PressCancelButton(); ListDailyRules.DeleteSingleRule(DailyRulePage.Title); Driver.Close(); }