Smoke Testing - yurkka23/iMusic_team GitHub Wiki

Smoke testing ensures that the core functionalities of the application work after a new build, confirming the system's basic stability before proceeding with full testing.

Smoke testing was manually executed for the IMusic. Was walked through key user scenarios such as authentication, audio playback, playlist management, profile actions, and file uploads. The outcomes were recorded with notes, priorities, and statuses for each test case.

Detailed Test Results

Each test case includes its unique ID, name, steps, expected result, actual result, priority, status, and any relevant notes.

Authentication

SMK-01: Register New User

Module: Authentication
Steps:

  • Navigate to the registration page.
  • Enter valid user details (username, email, password).
  • Submit the registration form.
    Expected Result: User is successfully registered.
    Actual Result: Passed
    Priority: Medium
    Status: Completed

SMK-02: Login with Valid Data

Module: Authentication
Steps:

  • Navigate to the login page.
  • Enter valid email and password.
  • Click the login button.

Expected Result: User is logged in.
Actual Result: Passed
Priority: Medium
Status: Completed

SMK-03: Sign in with Empty Form

Module: Authentication
Steps:

  • Navigate to the login page.
  • Leave email and password fields empty.
  • Click the login button.

Expected Result: Warning messages are displayed indicating required fields.
Actual Result: Passed
Priority: Medium
Status: Completed

SMK-04: CAPTCHA & Input Validation During Registration

Module: Authentication
Steps:

  • Navigate to the registration page.
  • Enter invalid email and phone number formats.
  • Submit the registration form.

Expected Result: Validation errors are displayed; CAPTCHA is required.
Actual Result: Failed
Priority: High
Status: In Progress
Notes: CAPTCHA and email/phone format checks are missing.

SMK-05: Logout

Module: Authentication
Steps:

  • Click on the user profile icon.
  • Select the logout option.

Expected Result: User is logged out.
Actual Result: Passed
Priority: Low
Status: Completed

Playlist

SMK-06: Create New Playlist

Module: Playlist
Steps:

  • Navigate to the playlists section.
  • Click on 'Create New Playlist'.
  • Enter playlist name and save.

Expected Result: New playlist is created and listed.
Actual Result: Passed
Priority: Medium
Status: Completed

SMK-07: Add Song to Playlist

Module: Playlist
Steps:

  • Go to playlist
  • Click 'Add to Playlist'
  • Select song

Expected Result: Track is added to the selected playlist.
Actual Result: Failed
Priority: Medium
Status: In Progress
Notes: Button does not trigger any action.

Audio Playback

SMK-08: Play a Song

Module: Audio Playback
Steps:

  • Navigate to a song.
  • Click the play button.

Expected Result: Song starts playing.
Actual Result: Passed
Priority: High
Status: Completed

SMK-09: Pause/Resume Playback

Module: Audio Playback
Steps:

  • While a song is playing, click the pause button.
  • Click the play button again.

Expected Result: Song pauses and resumes from the same position.
Actual Result: Passed
Priority: Medium
Status: Completed

SMK-10: Like a Song

Module: Audio Playback
Steps:

  • Navigate to a song.
  • Click the 'Like' button.

Expected Result: Song is added to favorites.
Actual Result: Passed
Priority: Low
Status: Completed

SMK-11: Remove Song from Favorites

Module: Audio Playback
Steps:

  • Navigate to favorites.
  • Click 'Remove' on a song.

Expected Result: Song is removed from favorites.
Actual Result: Passed
Priority: Low
Status: Completed

SMK-12: Filter Songs by Genre

Module: Audio Playback
Steps:

  • Navigate to the songs list.
  • Apply genre filter.

Expected Result: Songs are filtered by selected genre.
Actual Result: Passed
Priority: Medium
Status: Completed

User Profile

SMK-13: View Profile

Module: User Profile
Steps:

  • Click on the user profile icon.
  • Select 'View Profile'.

Expected Result: User profile information is displayed.
Actual Result: Passed
Priority: Low
Status: Completed

SMK-14: Edit Profile

Module: User Profile
Steps:

  • Navigate to profile settings.
  • Update user information.
  • Save changes.

Expected Result: Profile information is updated.
Actual Result: Passed
Priority: Medium
Status: Completed

SMK-15: Upload Profile Image

Module: User Profile
Steps:

  • Navigate to profile settings.
  • Upload an image file.
  • Save changes.

Expected Result: Profile image is previewed and saved.
Actual Result: Passed
Priority: Medium
Status: Completed

Artist&Admin Features

SMK-16: Upload Song (Artist Role)

Module: Artist Upload
Steps:

  • Login as a user with artist permissions.
  • Navigate to the upload section
  • Upload a song (invalid file format).

Expected Result: System should reject invalid formats.
Actual Result: Failed
Priority: High
Status: In Progress
Notes: Upload accepts invalid formats (e.g., .txt).

SMK-17: Promote User to Singer Role

Module: Admin/User Management
Steps:

  • Login as Admin.
  • Locate a regular user in the user management panel.
  • Click to promote user to singer.

Expected Result: User's role is updated to singer.
Actual Result: Failed
Priority: Medium
Status: In Progress
Notes: Change not persisted after page reload.

Navigation & UI

SMK-18: Navigate via Menu (Home → Playlist → Upload)

Module: Navigation
Steps:

  • Open menu.
  • Click through Home, Playlist, and Upload links.
  • Expected Result: Each page loads correctly.

Actual Result: Passed
Priority: Medium
Status: Completed


Summary

This round of smoke testing successfully validated most of the core functionalities of the iMusic platform. While 4 out of 19 test cases failed and require fixing, the majority of the app is stable enough for deeper functional and regression testing.

Result Count
Passed 14
Failed 4
Total 18

DEFECT 1

Section Details
ID D1
Description CAPTCHA and email/phone format checks are missing.
Preconditions User is on the login page
Steps 1.Enter invalid data 2.Click 'Login'
Expected Result Validation errors are displayed; CAPTCHA is required.
Actual Result Form does not submit, but no CAPTCHA or validation messages appear.
Priority High

DEFECT 2

Section Details
ID D2
Description Add to playlist button does not trigger any action
Preconditions Logged in and adding a song to playlist
Steps Click 'Add to Playlist'
Expected Result Song should be added to selected playlist, feedback shown
Actual Result Button does not trigger any action
Priority Medium

DEFECT 3

Section Details
ID D3
Description Song upload accepts invalid file formats (e.g., .txt)
Preconditions Logged in as artist
Steps 1.Navigate to the upload section 2.Upload a song (invalid file format).
Expected Result Error message: System should reject invalid formats.
Actual Result Upload accepts invalid formats (e.g., .txt)
Priority High

DEFECT 4

Section Details
ID D4
Description Promoting a user to singer role is not persisted
Preconditions Admin logged in, user exists
Steps 1.Promote user 2.Refresh or revisit page
Expected Result User role updated and retained
Actual Result Change not persisted after page reload
Priority Medium