Skip to content

E-commerce App: Initial Smoke Test Findings (Bugs & Enhancements) #11

Description

@MaithiliKenge

🐞 Bug 1: Cart can be updated without login

Steps to Reproduce

  1. Open site without logging in
  2. Add product to cart
  3. Cart updates successfully

Expected Result
User should be required to log in before cart updates.

Actual Result
Cart works without authentication.

Environment

  • Backend: Node.js (Express + Mongoose)
  • Frontend: React
  • DB: MongoDB Atlas

Priority
High

Labels
bug, authentication

🐞 Bug 2: Checkout not working

Steps to Reproduce

  1. Add a product to cart
  2. Go to checkout page
  3. Try to complete checkout

Expected Result
Checkout should process successfully (test mode if real payments not configured).

Actual Result
Checkout fails / no response.

Environment

  • Backend: Node.js
  • Frontend: React
  • DB: MongoDB Atlas

Priority
Critical

Labels
bug, checkout

🐞 Bug 3: Cannot update product

Steps to Reproduce

  1. Open Admin Panel
  2. Try to edit/update a product’s details
  3. No option available, only delete works

Expected Result
Admin should be able to update product details (name, price, image, category, etc.).

Actual Result
Update function is missing.

Environment

  • Backend: Node.js
  • Frontend: React
  • DB: MongoDB Atlas

Priority
Medium

Labels
bug, product-CRUD

✨ Enhancement 1: Add product size selection

Description
Currently, products do not have a size option (S/M/L, etc.), which limits usability for fashion/e-commerce flows.

Suggestion

  • Add size field in product schema
  • Update product add/edit form in Admin Panel
  • Allow customers to select size when adding to cart

Priority
Medium

Labels
enhancement, product-feature

✨ Enhancement 2: Logout confirmation/redirect

Description
Logout works, but the user does not get clear confirmation (e.g., toast message, redirect to login page).

Suggestion

  • Redirect users to login page after logout
  • Or show a success toast notification

Priority
Low

Labels
enhancement, UX

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions