LabrieCam / CSC-305-Playlist-Generator

Apache License 2.0
0 stars 0 forks source link

US4: Golden Path #17

Closed AML0424 closed 1 week ago

Venxtai commented 1 week ago

AS A user, I WANT TO input a music genre or mood and generate a playlist, TO discover and listen to personalized music recommendations, SO THAT I can easily find a playlist that fits my current mood or taste and open it on a streaming platform.

SCENARIO: Successful Playlist Generation GIVEN the user is on the main screen of the music playlist generator app, WHEN the user enters a valid genre or mood in the prompt box, AND clicks the "Generate Playlist" button, THEN a playlist based on the input should be displayed on the next screen, WITHIN 3 seconds, AND the user should see a button to open the playlist on a streaming platform

SCENARIO: No Genre or Mood Entered GIVEN the user is on the main screen of the music playlist generator app, WHEN the user leaves the genre or mood prompt box empty, AND clicks the "Generate Playlist" button, THEN the system should display an error message stating "Please enter a music genre or mood" WITHIN 1 second, AND prevent playlist generation

SCENARIO: Invalid Genre or Mood Input GIVEN the user is on the main screen of the music playlist generator app, WHEN the user enters an unrecognized genre or mood (e.g., random text), AND clicks the "Generate Playlist" button, THEN the system should display an error message stating "Invalid input. Please enter a valid music genre or mood" WITHIN 1 second, AND prompt the user to try again.

SCENARIO: Successful Playlist Generation with 15 Songs GIVEN the user is on the main screen of the music playlist generator app, WHEN the user enters a valid music genre or mood, AND clicks the "Generate Playlist" button, THEN the system should generate and display a playlist with exactly 15 songs WITHIN 3 seconds, AND the playlist should be visible on the next screen.

SCENARIO: Fewer Than 15 Songs Available for Genre/Mood GIVEN the user enters a genre or mood that has fewer than 15 songs available, WHEN the user clicks the "Generate Playlist" button, THEN the system should generate a playlist with all the available songs, WITHIN 3 seconds, AND display a message stating, "Only X songs available for this genre/mood" where X is the number of songs.

SCENARIO: Successful Playlist Sharing on Streaming Platform GIVEN the user has generated a playlist, WHEN the user clicks the "Open on Streaming Platform" button, THEN the system should open the streaming platform with the playlist ready to play WITHIN 2 seconds.