public void TC_AddPlans() { Page_ImproveFitnessLevelGoal fitnessLevelGoal = new Page_ImproveFitnessLevelGoal(softassertions); is_soft_assert = true; fitnessLevelGoal.VerifyActionsAdded(); softassertions.AssertAll(); }
//[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_SetFitnessActivityGoalForFutureDate(); TC_VerifyPlanScreen(); TC_AddPlans(); TC_VerifyGoalSetUpScreen(); cmngoal.ClickStep2BackBtn(); System.Threading.Thread.Sleep(3000); Page_ImproveFitnessLevelGoal ifl = new Page_ImproveFitnessLevelGoal(softassertions); ifl.VerifyActionsAdded(); softassertions.AssertAll(); }