예제 #1
0
    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()
예제 #2
0
    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()
예제 #3
0
    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()
예제 #4
0
    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()
예제 #5
0
 def test_LogInPro(self):
   	login_pro_object = LandingPage(self.driver)
   	login_pro_object.loginPro()
예제 #6
0
    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()
예제 #7
0
    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()