Back to Testing Guide
How to use these flows 1. Open TAMASH in Chrome and switch to the 🔀 Flow tab.
2. Click Import and pick one of the .json files from the docs/flows/ folder.
3. Review the steps, then press ▶ Run. Each step executes against the live VegCart tab.
4. Flows are saved in the extension's local storage so you can reuse them across sessions.
Available WebMCP Tools
get_product_list Returns all 24 products
search_products Search by name (query)
filter_products_by_category Filter by category
add_item_to_cart Add item by name + qty
remove_from_cart Remove item by name
get_cart_contents View cart & totals
clear_cart Empty the cart
place_order Checkout with address
get_order_history List orders (filter, limit)
user_login Login with email + password
user_logout Logout current user
user_register Create new account
get_user_info Current logged-in user
add_to_wishlist Toggle wishlist by name
get_wishlist View wishlist items
navigate_to_tab Jump to any app tab
Test Credentials
Priya Sharma  priya@example.com / test123  — Bengaluru, PIN 560001
Ravi Kumar  ravi@example.com / demo123  — Chennai, PIN 600040
Flow Catalogue

Product Search

01
SearchBrowseNo Login

Navigate to the Products tab, load all products, search for "tomato", clear the search, then filter by Vegetables category.

  • 1navigate_to_tab Products tab
  • 2get_product_list Load all 24 products
  • 3search_products query="tomato"
  • 4search_products query="" (clear)
  • 5filter_products_by_category vegetables
  • 6filter_products_by_category all
Download JSON

Login – Priya Sharma

02
AuthLogin

Login with Priya's credentials (priya@example.com / test123) and verify the session with get_user_info.

  • 1navigate_to_tab profile
  • 2user_login priya@example.com
  • 3get_user_info verify session
Download JSON

Login – Ravi Kumar

03
AuthLogin

Login with Ravi's credentials (ravi@example.com / demo123) and verify the session.

  • 1navigate_to_tab profile
  • 2user_login ravi@example.com
  • 3get_user_info verify session
Download JSON

Add Daily Essentials

04
CartNo Login

Clear cart and add 5 everyday items: Tomatoes, Onions, Carrots, Spinach, Coriander. Verifies cart total at the end.

  • 1clear_cart
  • 2–6add_item_to_cart 5 items
  • 7get_cart_contents verify total
  • 8navigate_to_tab cart
Download JSON

Full Checkout – Priya

05
AuthCartCheckout

End-to-end flow: login → add Mango, Tomatoes, Spinach → review cart → place order to Bengaluru → check order history.

  • 1user_login priya@example.com
  • 2clear_cart
  • 3–5add_item_to_cart 3 items
  • 6get_cart_contents
  • 7place_order Bengaluru 560001
  • 8get_order_history
Download JSON

Guest Quick Order

06
CartCheckoutNo Login

Place an order as a guest (no login required): Banana, Onions, Garlic — delivered to Mumbai.

  • 1clear_cart
  • 2–4add_item_to_cart 3 items
  • 5get_cart_contents
  • 6place_order Mumbai 400001
Download JSON

Wishlist – Organic Products

07
WishlistBrowseNo Login

Browse Greens and Fruits categories; wishlist 4 organic products (Spinach, Fenugreek, Pomegranate, Strawberries), then verify.

  • 1–2filter_products_by_category
  • 3–6add_to_wishlist 4 items
  • 7get_wishlist verify count
  • 8navigate_to_tab wishlist
Download JSON

Cart Management

08
CartAdd/RemoveNo Login

Tests add, get, and remove operations: adds Avocado, Dragon Fruit, Baby Corn; removes Dragon Fruit; verifies updated cart.

  • 1clear_cart
  • 2–4add_item_to_cart 3 items
  • 5get_cart_contents 3 lines
  • 6remove_from_cart Dragon Fruit
  • 7get_cart_contents 2 lines
Download JSON

Order History Check

09
AuthOrders

Login as Priya, check all orders and delivered orders; logout; login as Ravi and check his order history.

  • 1user_login priya
  • 2–3get_order_history all / delivered
  • 4navigate_to_tab orders
  • 5user_logout
  • 6–7user_login ravi + orders
Download JSON

New User Registration

10
AuthRegister

Register a new account, verify auto-login, add an item to cart as the new user, then logout.

  • 1navigate_to_tab profile
  • 2user_register testuser@vegcart.com
  • 3get_user_info verify
  • 4add_item_to_cart Lettuce
  • 5get_cart_contents
  • 6user_logout
Download JSON

Greens Weekly Pack Checkout

11
AuthCartCheckout

Login as Priya, browse greens category, fill cart with 5 greens (Spinach, Coriander, Mint, Fenugreek, Curry Leaves), place order.

  • 1user_login priya
  • 2clear_cart
  • 3filter_products_by_category greens
  • 4–8add_item_to_cart 5 greens
  • 9get_cart_contents
  • 10–11place_order + navigate orders
Download JSON

Exotic Produce Explorer

12
BrowseWishlistCartNo Login

Browse exotic category; wishlist Avocado and Dragon Fruit; add Zucchini, Kale, Cherry Tomatoes to cart; verify both cart and wishlist.

  • 1filter_products_by_category exotic
  • 2get_product_list
  • 3search_products avocado
  • 4–5add_to_wishlist 2 items
  • 6–8add_item_to_cart 3 items
  • 9–10get_cart_contents + get_wishlist
Download JSON
Product Reference

Fruits

🥭 Alphonso Mango — ₹249/kg (P001)
🍓 Strawberries — ₹149/250g, organic (P002)
🍉 Watermelon — ₹59/kg (P003)
🍌 Banana — ₹49/doz (P004)
🍎 Pomegranate — ₹199/kg, organic (P005)
🍇 Grapes (Green) — ₹129/500g (P006)

Vegetables

🍅 Tomatoes — ₹39/kg (P007)
🥕 Carrots — ₹45/kg, organic (P008)
🥦 Broccoli — ₹89/piece (P009)
🫑 Bell Peppers Mix — ₹79/500g (P010)
🧅 Onions — ₹35/kg (P011)
🧄 Garlic — ₹99/250g, organic (P012)

Greens & Herbs

🥬 Spinach — ₹29/bunch, organic (P013)
🌿 Coriander — ₹15/bunch (P014)
🌱 Mint Leaves — ₹19/bunch (P015)
🌾 Fenugreek (Methi) — ₹25/bunch, organic (P016)
🍃 Curry Leaves — ₹12/bunch (P017)
🥗 Lettuce — ₹59/head, organic (P018)

Exotic Produce

🥑 Avocado — ₹149/piece (P019)
🌽 Baby Corn — ₹89/250g (P020)
🫒 Zucchini — ₹99/kg (P021)
🐉 Dragon Fruit — ₹199/piece (P022)
🍒 Cherry Tomatoes — ₹129/250g, organic (P023)
🥦 Kale — ₹119/bunch, organic (P024)