def test_AddExercise(self): create_exercise_obj = LandingPage(self.driver) create_exercise_obj.loginPro() create_exercise_obj = ProHomePage(self.driver) create_exercise_obj.switchToExercises() create_exercise_obj = ExerciseListPage(self.driver) create_exercise_obj.addExercise()
def test_createProgram(self): create_program_obj = LandingPage(self.driver) create_program_obj.loginPro() create_program_obj = ProHomePage(self.driver) create_program_obj.switchToPrograms() create_program_obj = ProgramListPage(self.driver) create_program_obj.addProgram()
def test_createWorkout(self): create_workout_obj = LandingPage(self.driver) create_workout_obj.loginPro() create_workout_obj = ProHomePage(self.driver) create_workout_obj.switchToWorkouts() create_workout_obj = WorkoutListPage(self.driver) create_workout_obj.addWorkout()
def test_addDescription(self): add_description_obj = LandingPage(self.driver) add_description_obj.loginPro() add_description_obj = ProHomePage(self.driver) add_description_obj.switchToExercises() add_description_obj = ExerciseListPage(self.driver) add_description_obj.switch_exerciseList() add_description_obj = ExerciseOverviewPage(self.driver) add_description_obj.addDescription()
def test_LogInPro(self): login_pro_object = LandingPage(self.driver) login_pro_object.loginPro()
def test_updateWorkoutName(self): update_WorkoutName = LandingPage(self.driver) update_WorkoutName.loginPro() update_WorkoutName = ProHomePage(self.driver) update_WorkoutName.switchToWorkouts() update_WorkoutName = WorkoutListPage(self.driver) update_WorkoutName.switch_WorkoutOverview() update_WorkoutName = WorkoutOverviewPage(self.driver) update_WorkoutName.updateWorkoutName()
def test_updateExerciseName(self): update_ExcerciseName = LandingPage(self.driver) update_ExcerciseName.loginPro() update_ExcerciseName = ProHomePage(self.driver) update_ExcerciseName.switchToExercises() update_ExcerciseName = ExerciseListPage(self.driver) update_ExcerciseName.switch_exerciseList() update_ExcerciseName = ExerciseOverviewPage(self.driver) update_ExcerciseName.updateExerciseName()