Skip to content

idanbg/SunFlower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Standard for Test Case: Profile Update, Validation, and Coin Balance Verification

Test Purpose

The goal of this test is to ensure that a user can successfully log into their account, update their profile information (username and avatar), and validate the updated profile data is saved and displayed correctly. Additionally, the test verifies that the user can view their coin amounts for both coin types using the coin switcher functionality.

Preconditions

  1. The user has valid credentials:
  2. The user has access to a stable internet connection.
  3. The browser has a clean session with no existing cookies or cached data.
  4. The system is in a stable state, and the profile update feature and coin switcher are enabled on the platform.

Steps to Execute

  1. Login to the System

    • Action: Launch the website and log in using the provided credentials.
    • Expected Result: User is successfully redirected to the main lobby.
  2. Navigate to the Profile Management Section

    • Action:
      • Close any initial popups that appear after login.
      • Click on the menu button and select "My Account."
    • Expected Result: The profile management interface is displayed.
  3. Update Profile Information

    • Action:
      • Click the edit button (pencil icon).
      • Clear the existing username and input a new, randomly generated username.
      • Select a new avatar from the available options.
      • Click the "Apply" button to save changes.
    • Expected Result: The system confirms the profile update, and the updated username and avatar are saved.
  4. Validate Updated Profile Information

    • Action:
      • Navigate to the "My Profile" section and verify the displayed username matches the updated value.
    • Expected Result: The updated username and avatar are correctly displayed, confirming the changes were successfully applied.
  5. Print User’s Coin Amounts

    • Action:
      • Locate the coin switcher in the main lobby.
      • Print the yellow coin balance.
      • Use the coin switcher to switch to the green coin balance and print it.
    • Expected Result: Both yellow and green coin balances are displayed correctly, confirming the functionality of the coin switcher.
  6. Return to the Main Lobby

    • Action: Close the profile management section and navigate back to the main screen.
    • Expected Result: The system returns to the main lobby without errors.

Post-Conditions

  1. The user's profile is updated with the new username and avatar.
  2. No unnecessary dialogs or errors persist after returning to the main screen.
  3. The coin amounts for both types have been successfully displayed and verified.
  4. The browser session remains open for further testing or manual exploration.

Validation Criteria

  1. Functional Criteria:

    • The updated username and avatar appear correctly in the "My Profile" section.
    • The changes persist upon reloading the "My Profile" section.
    • The correct coin balances are displayed for both yellow and green coin types.
  2. Usability Criteria:

    • The interface responds smoothly during the update process and coin switching (e.g., no crashes, delays, or errors).
    • The user receives appropriate feedback (confirmation message or visual cue) after applying changes and switching coin types.
  3. Stability Criteria:

    • No unexpected errors, crashes, or disconnections occur during the test.
    • The system seamlessly returns to the main lobby after profile updates and coin switching.

By adhering to these steps and criteria, this test validates the reliability, usability, and functionality of the profile management and coin balance features.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors