Exemplo n.º 1
0
        //[Test, Order(3)]
        //[Category("Regression")]

        public void TC_AddPlans()
        {
            Page_ImproveDietaryHabitsGoal dietaryHabitsGoal = new Page_ImproveDietaryHabitsGoal(softassertions);

            is_soft_assert = true;
            dietaryHabitsGoal.VerifyActionsAdded();
            softassertions.AssertAll();
        }
Exemplo n.º 2
0
        //[Test, Order(5)]
        //[Category("Regression")]
        //[Category("CoachingReg")]
        public void TC_ClickGoalSetUpBackBtn()
        {
            Common config    = new Common();
            string isenabled = config.GetConfig("CoachingEnabled").ElementAt(0)[1].ToLower();

            if (isenabled.Equals("false"))
            {
                Assert.Ignore("Coaching not enabled for client");
            }
            TC_SetDietaryHabitsGoalForFutureDate();
            TC_VerifyPlanScreen();
            TC_AddPlans();
            TC_VerifyGoalSetUpScreen();
            cmngoal.ClickStep2BackBtn();
            System.Threading.Thread.Sleep(3000);
            Page_ImproveDietaryHabitsGoal idh = new Page_ImproveDietaryHabitsGoal(softassertions);

            idh.VerifyActionsAdded();
            softassertions.AssertAll();
        }