コード例 #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
ファイル: createProgram_Test.py プロジェクト: rcadia/gcwebapp
    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
ファイル: createWorkout_Test.py プロジェクト: rcadia/gcwebapp
    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
ファイル: logInPro_Test.py プロジェクト: rcadia/gcwebapp
 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()