1Business context
LexDesk is a legal-services marketplace: find and book lawyers for consultations, and generate a rental agreement through a wizard with live preview, legal validations and stamp-duty calculation.
Filter lawyers by practice area, city and language and book a consultation; then generate a rental agreement through a wizard with a live document preview, cross-field rules, typed e-signatures and a stamp-duty calculation.
2Users & roles
- 👤 Client — books consultations and creates agreements
3Modules & screens
| Screen | Route | What it does |
|---|---|---|
| Find a lawyer | /apps/legal | Practice area, city, language and sort; booking modal |
| Create agreement | /apps/legal/documents | Rental agreement wizard with live preview and signatures |
4Main end-to-end journey
Consult and rental agreement
- Filter property lawyers, sort by fee and book l4 by video with a 20+ character issue
- Generate an agreement: landlord Meera Kulkarni, tenant Amir Khan, Pune flat, ₹25,000 rent, ₹1,50,000 deposit, 11 months
- Sign with exact names and generate
Expected: Consultation LX- booked; preview updates live; stamp duty ₹1,063; agreement generated
5Business rules & validations
- Directory filtersBeginner
area-*, lawyer-city, lawyer-language and lawyer-sort change lawyer-count and order.
- Booking modal validationIntermediate
confirm-consult without mode/day/time or with a short description shows consult-error.
- Live previewIntermediate
Typing in the wizard updates preview-* fields immediately; blanks show underscores.
- Cross-field rulesAdvanced
Deposit above 6 months' rent and landlord = tenant are rejected with specific error-* messages.
- Exact-match signaturesIntermediate
landlord-signature / tenant-signature must match the names exactly (case and spaces).
- Stamp duty mathsIntermediate
₹25,000 × 11 months + ₹1,50,000 deposit → stamp-duty ₹1,063.
- Wizard navigationBeginner
doc-back keeps entered values; the stepper marks completed steps.
6Test data & credentials
- URL
- /apps/legal
- Deposit cap
- 6 × monthly rent
- Stamp duty
- 0.25% (min ₹100)
- Consult days
- closed Sundays
7Glossary
- Stamp duty
- 0.25% of (total rent for the term + deposit), minimum ₹100
- Security deposit
- Capped at 6 × monthly rent
- Consultation
- Phone, video or in-person booking (closed Sundays)
8Watch-outs for automation
- ⚠️Signatures must match names exactly (case and spaces)
- ⚠️Landlord and tenant can't be the same person
- ⚠️Back in the wizard keeps entered values
9Suggested test strategy
1 · Smoke
3
P1 positive and end-to-end cases — run on every build.
2 · Regression
15
All cases, incl. 4 negative and 2 edge — run before release.
3 · End-to-end
3
Full user journeys — run nightly.
Start with these smoke cases
- LEXDESK-01 — Book a consultation
- LEXDESK-02 — Draft a rental agreement
- LEXDESK-E2E-01 — Consult and rental agreement