User Story: As a user, I want to create a free-form workout session by selecting exercises from a library, so that I can tailor workouts to my specific goals and preferences.
Scenario: E03-F01-S01 - Creating a new custom workout from scratch
Given I am on the main screen of the application
When I select "Create Workout"
Then I should see the exercise library
When I search for "Squat"
And I select "Barbell Squat" from the results
And I configure it for 4 sets of 8 repetitions
And I add 3 more exercises with their configurations
And I save the workout as "My Lower Body Routine"
Then the workout should be saved to my custom programs
And I should be able to start it immediately or schedule itScenario: E03-F01-S02 - Getting intelligent exercise suggestions during creation
Given I am creating a custom workout
And I have already added "Bench Press" and "Incline Dumbbell Press"
When I look at the suggested exercises section
Then I should see complementary exercises like "Chest Flies"
And I should see opposing muscle group exercises like "Bent-Over Rows"
When I tap a suggestion
Then it should be added to my custom workout# Test d'acceptation
Scenario: E03-F01-TA01 - Creating a workout with invalid parameters
Given I am creating a custom workout
When I add "Barbell Squat" to my workout
And I set the number of sets to 0
Then I should see an error message indicating invalid input
And I should not be able to save the workout until correctedUser Story: As a user, I want to add, modify or remove exercises spontaneously during my session, so that I can adapt my workout to how I’m feeling or to equipment availability.
Scenario: E03-F02-S01 - Adding an exercise to a workout in progress
Given I am in the middle of a workout session
When I tap "Add Exercise"
And I select "Lateral Raises" from the exercise library
And I configure it for 3 sets of 12 repetitions
Then "Lateral Raises" should be added to my current workout
And I should be able to continue my workout with the added exerciseScenario: E03-F02-S02 - Removing an exercise during a workout
Given I am in the middle of a workout session
And I have not yet started the exercise "Pull-ups"
When I swipe left on "Pull-ups" in my workout list
And I confirm deletion
Then "Pull-ups" should be removed from my current workout
And the workout should continue with the next exercise# Test d'acceptation
Scenario: E03-F02-TA01 - Attempting to delete a completed exercise
Given I am in the middle of a workout session
And I have completed the exercise "Bench Press" with all sets
When I try to remove "Bench Press" from the workout
Then I should see a message indicating completed exercises can't be removed
But I should be offered the option to add a note to the completed exerciseE. Bruno - ?meta:title