Test Case Suite: Mobile Shopping Cart & Checkout
Overview
This test suite covers mobile-specific scenarios for shopping cart management and checkout flow on iOS and Android platforms. Tests include responsive design validation, touch interactions, payment processing on mobile, network resilience, and device-specific behavior.
Test Cases Summary
| Test Case ID | Title | Platform | Status |
|---|---|---|---|
| TC-CART-MOBILE-001 | Add item to cart from product detail page | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-002 | Update item quantity in cart | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-003 | Remove item from cart | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-004 | Apply discount/promo code | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-005 | Proceed to checkout on mobile | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-006 | Enter shipping address on mobile | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-007 | Select shipping method | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-008 | Enter payment details on mobile | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-009 | Complete order and receive confirmation | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-010 | Handle network timeout during checkout | iOS / Android | ⚠ Flaky |
| TC-CART-MOBILE-011 | Checkout with saved payment method | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-012 | Empty cart behavior | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-013 | Cross-device cart sync | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-014 | Checkout with one-tap payment (Apple Pay/Google Pay) | iOS / Android | ✓ Pass |
| TC-CART-MOBILE-015 | Responsive design on various screen sizes | iOS / Android | ✓ Pass |
Key Test Scenarios
Happy Path: Add Item → Checkout → Payment
- User browses products on mobile
- Selects product and adds to cart
- Navigates to cart review
- Proceeds to shipping address entry
- Selects shipping method and calculates cost
- Enters payment information
- Reviews order summary
- Completes purchase
- Receives order confirmation and email
Network Resilience: Handling Connectivity Issues
- Add to cart with WiFi, switch to cellular
- Begin checkout on WiFi, connection drops mid-process
- Retry checkout with recovered connection
- Verify no duplicate orders created
- Test offline mode — ensure appropriate messaging
Device-Specific Features
- iOS: Apple Pay integration, Face ID/Touch ID payments
- Android: Google Pay integration, fingerprint authentication
- Both: Camera access for barcode scanning (if applicable)
- Permission handling: location, contacts, photo library
Responsive Design Validation
- iPhone SE (375px width) — compact layout
- iPhone 14 Pro (393px width) — standard layout
- iPhone 14 Pro Max (430px width) — large device layout
- iPad (768px+ width) — tablet layout
- Android devices: Pixel 4 (412px), Galaxy S23 (360px), tablets
- All layouts: text readable, buttons tappable (min 44x44 pt), no overflow
Performance Targets
- Cart page load: < 2 seconds on 4G
- Checkout page load: < 3 seconds on 4G
- Add to cart action: < 500ms response time
- Payment processing: < 5 seconds end-to-end
- Order confirmation display: immediate after payment success
Accessibility Requirements
- VoiceOver (iOS) and TalkBack (Android) fully support checkout flow
- Minimum text size: 16pt for body text
- Color contrast: WCAG AA (4.5:1 for text)
- Keyboard navigation: all interactive elements accessible
- Focus indicators: visible and clear
Known Issues & Limitations
- TC-CART-MOBILE-010 is flaky under poor network conditions (work in progress)
- Apple Pay requires physical device (not testable in simulator)
- Google Play Billing Library requires real Play Store account