Skip to content

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

Description

@nikunjwandile1234

Bug 1: Cart can be updated without login

Steps to Reproduce:

Open site without logging in

Add product to cart

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:

Add a product to cart

Go to checkout page

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:

Open Admin Panel

Try to edit/update a product’s details

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.

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 frontend to include size selection in product detail and checkout flow

Priority: Medium
Labels: enhancement, product-feature

Environment:

Backend: Node.js

Frontend: React

DB: MongoDB Atlas

Priority: Medium
Labels: bug, product-CRUD

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