Пример #1
0
        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!");
        }
Пример #2
0
 public void Cleanup()
 {
     DailyRulePage.PressCancelButton();
     ListDailyRules.DeleteSingleRule(DailyRulePage.Title);
     Driver.Close();
 }