Self-Serve Pricing Page Test Plan
Overview
Objective: Validate the self-serve pricing page's core pricing mechanics—anchoring, toggles, calculators, and guardrails—to ensure accurate, intuitive, user-friendly pricing display and interaction. Confirm no pricing errors, abuse vectors, or UX breakdowns across desktop/mobile, browsers (Chrome, Firefox, Safari, Edge), and user states (anonymous, logged-in).
Scope:
- Anchoring: High-price anchors influencing perceived value.
- Toggles: Billing cycles (monthly/annual), add-ons/features.
- Calculators: Dynamic usage-based pricing (e.g., API calls, storage).
- Guardrails: Input limits, min/max pricing, validation, anti-abuse.
Out of Scope: Full E2E checkout flow, payment processing, A/B variants.
Test Types: Functional, UI/UX, Edge Cases, Performance (load times <2s), Accessibility (WCAG 2.1 AA).
Tools: Browser DevTools, Selenium/WebDriver for automation, Postman for API mocks, BrowserStack for cross-device.
Entry Criteria: Staging env deployed, pricing backend stable.
Exit Criteria: 100% pass rate on critical paths; <5% defects.
Risks: Pricing miscalculations (high impact), mobile toggle glitches (medium).
Test Environment
- Browsers: Latest Chrome/Firefox/Safari/Edge.
- Devices: Desktop (1920x1080), Tablet (iPad), Mobile (iPhone 14, Galaxy S23).
- Network: 4G throttled, offline simulation.
- User States: Anonymous, Free tier, Paid user.
Preconditions
- Clear browser cache/cookies.
- Navigate to
/pricing.
- Mock backend APIs for pricing calc (e.g., via Mirage.js or MSW).
Test Cases
1. Anchoring Tests
Verify high-price "anchors" (e.g., Enterprise plan at top) make lower tiers appear discounted.
| ID | Test Case | Steps | Expected Result | Priority |
|---|
| A1 | Anchor Visibility | Load page; scroll to plans. | Enterprise ($999/mo) visible first; strikethrough MSRP if applicable; discount badges on lower plans (e.g., Pro 50% off). | Critical |
| A2 | Anchor Influence | Toggle monthly/annual; compare Pro vs. Enterprise. | Pro ($99/mo) savings highlighted vs. Enterprise; tooltips explain "Save 60% vs. Enterprise". | High |
| A3 | Responsive Anchor | Resize to mobile; check plans grid. | Anchors stack correctly; no overlap; discount % prominent. | Medium |
| A4 | Dynamic Anchor | Calculator shows custom price > anchor. | Custom price badges as "Custom Enterprise" if exceeds; no negative discounts. | Medium |
| A5 | Edge: No Anchor | Hide Enterprise via feature flag. | Lower plans unaffected; no broken layouts. | Low |
2. Toggles Tests
Test switches for billing, features (e.g., Annual/Monthly, GPU add-on).
| ID | Test Case | Steps | Expected Result | Priority |
|---|
| T1 | Billing Toggle Basic | Click Monthly → Annual → Monthly. | Prices update instantly (<500ms); Annual shows "Save 20%" badge; totals recalculate. | Critical |
| T2 | Toggle + Calculator | Toggle Annual; input calculator values. | Combined recalc (e.g., 99/mo→950/yr); persistent state on page refresh. | Critical |
| T3 | Multi-Toggle Interaction | Toggle Annual + GPU add-on ON/OFF. | Additive pricing (base + add-on * discount); no double-discounts. | High |
| T4 | Toggle Persistence | Toggle Annual; navigate away/refresh. | State persists via localStorage/URL params. | High |
| T5 | Accessibility Toggle | Tab to toggle; Space/Enter. | ARIA labels read "Annual billing (Save 20%)"; screen reader announces change. | Medium |
| T6 | Mobile Touch Toggle | Pinch-zoom; swipe toggle. | No misfires; haptic feedback if supported. | Medium |
| T7 | Edge: Invalid Toggle | Force toggle via JS console to invalid state. | Fallback to default; error toast "Invalid config". | Low |
3. Calculators Tests
Dynamic inputs (sliders, number fields) for usage-based pricing (e.g., 1M API calls = $X).
| ID | Test Case | Steps | Expected Result | Priority |
|---|
| C1 | Basic Calculation | Slider: 0 → 1M → 10M API calls. | Real-time price update (tiered: 0.01/callupto1M,0.005 after); graph shows projection. | Critical |
| C2 | Calculator + Toggles | Input 5M calls; toggle Annual. | Annual discounts apply to total (e.g., 500/mo→5,400/yr). | Critical |
| C3 | Multi-Input Calc | Storage (TB) + Users; compute. | Formula: (calls * rate) + (storage * 10); rounded to 2 decimals. |
4. Guardrails Tests
Prevent abuse, invalid states, pricing exploits.
| ID | Test Case | Steps | Expected Result | Priority |
|---|
| G1 | Min Price Floor | Calc 0 usage. | Min $10/mo enforced; warning "Minimum commitment". | Critical |
| G2 | Max Input Limits | Enter 999T calls (overflow). | Cap at 1B; input rejects >max (red border, "Max 1B"); no NaN prices. | Critical |
| G3 | Discount Caps | Stack toggles/add-ons for max discount. | Total discount ≤60%; no negative prices. | Critical |
| G4 | Invalid Inputs | Enter "abc" in calc field. | Sanitize to 0; validation error "Enter valid number". | High |
| G5 | Rate Limiting | Rapid toggle/calc (100x/sec via script). | Throttle to 10/sec; "Slow down" toast after 50. | High |
| G6 | Currency/Region | VPN to EU; check prices. | Local currency (EUR); taxes appended (VAT 20%). | Medium |
| G7 | Abuse: Tamper JS | Edit prices via console. | React to backend recalc on submit; immutable via API. | High |
| G8 | Offline Guardrail | Go offline; interact. | Cached prices; "Connect for live quote" banner. | Low |
Integration Tests
| ID | Description | Key Checks |
|---|
| I1 | Full Flow: Anchor → Toggle → Calc → Guardrail | Select Pro (anchor influence), Annual toggle, 1M calls → $950/yr (min enforced if low). |
| I2 | Mobile E2E | All features on iPhone; no zoom issues. |
| I3 | A/B Anchor Variant | Feature flag Enterprise hidden; toggles/calc unchanged. |
Defect Logging
- Severity: Critical (pricing wrong), High (UX block), Medium (edge), Low (cosmetic).
- Track in Jira:
PRICING-XXX.
Automation Coverage
- 80% Critical/High: Selenium scripts for toggles/calc.
- Run nightly on CI.
This plan ensures robust, conversion-optimized pricing UX. Total est. effort: 2 dev-days manual + 1 automation. Review & execute! 🕵️