Blog
E-Commerce Testing: How to Protect Every Step from Search to Checkout

Rishabh Kumar
Published on

Table of contents
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
Lorem ipsum
It’s Black Friday, your biggest trading day of the year. Traffic is many times its normal level, and everything looks fine.
Then the checkout stops working.
Customers fill their baskets, enter their payment details and press “Complete purchase”. Nothing happens. Orders don’t go through. Support queues fill up, complaints spread across social media, and shoppers take their baskets to competitors.
The cause turns out to be small. A JavaScript library update changed how a button handles a click, and the checkout stopped working in Safari on iPhones while working perfectly everywhere else. Testing didn’t catch it, because the team only tested checkout in desktop Chrome. By the time it’s fixed, the busiest hours of the year are gone, and many of those customers won’t come back.
Problems like this are common in e-commerce. A misplaced decimal causes pricing errors. A checkout bug blocks international orders. A layout problem on small screens sends visitors elsewhere. A stock sync failure oversells a popular product.
E-commerce testing protects revenue directly. This guide explains what makes it difficult, which journeys need the most attention, how testing differs across Shopify, Adobe Commerce, custom and headless platforms, how to prepare for peak season, and how AI-assisted automation helps retailers keep pace.
Why E-Commerce Testing is So Demanding
Every Bug Sits in the Path to Revenue
In many applications, a bug is an inconvenience. In e-commerce, a bug in the buying journey stops people paying you.
Stage | Example Bugs | What Happens |
|---|---|---|
Discovery | Irrelevant search results, broken filters, slow category pages, missing images | Shoppers can’t find products and leave |
Basket | Items not adding, quantities not updating, baskets emptying, codes not applying | More shoppers abandon their baskets |
Checkout | Payment failures, address validation errors, wrong delivery costs | Shoppers give up at the final step |
After purchase | Missing confirmations, wrong order details, delayed refunds | Trust drops and support costs rise |
Basket abandonment is already high across the industry. The Baymard Institute puts the average at around 70%, so any bug that adds friction makes a big problem worse.
Shoppers Use Many Browsers and Screen Sizes
Much e-commerce traffic now comes from phones, through mobile browsers, as well as from desktops and tablets.
Responsive Layouts
Layouts must adapt to many screen sizes, and breakpoints create edge cases. Touch interactions behave differently from mouse clicks, and each browser has its own quirks.
Speed
Shoppers leave slow pages. Image size, script execution and network speed all affect how fast pages feel, especially on mobile connections.
Forms
Typing on a phone keyboard is harder than on a desktop, autofill works differently in each browser, and validation messages need to be clear on small screens. Long, multi-step forms raise abandonment.
Payment Options
Shoppers expect cards, wallets such as PayPal, Apple Pay and Google Pay in the browser, and buy-now-pay-later options such as Klarna. Each one needs its own tests.
Peak Season Raises the Stakes
Black Friday, Cyber Monday, holiday trading and major sale events can account for a large share of annual revenue in a short window, so any failure costs far more than usual.
Load and Performance
Traffic can rise sharply. Even if infrastructure copes, checkout can slow down and search can time out under load.
Stock Accuracy
Stock levels need to stay accurate across warehouses, stores and online channels. Overselling creates customer service problems, while underselling leaves money on the table.
Promotion Rules
Layered discounts, bundles, flash sales and personalised pricing interact in complex ways, and a pricing error during peak volume is especially expensive.
Payments and Fraud Checks
Payment providers handle far more transactions than usual, and fraud checks can become too aggressive, blocking genuine shoppers when it matters most.
You can’t safely experiment in production during peak trading, so testing has to be thorough well before it starts.
Omnichannel Journeys Multiply Scenarios
Customers research online and buy in store, order online and collect from a store, or buy on one channel and return on another. Every link between channels adds scenarios to test.
Stock Visibility
Check real-time stock across stores and online, “available nearby” features, and reserve-and-collect journeys.
Order Management
Check orders fulfilled from stores, store purchases shipped to customers, split shipments and changes to orders across channels.
Customer Data
Check that account details, loyalty points, purchase history and personalisation stay consistent across every channel.
Returns and Exchanges
Check online purchases returned in store, store purchases exchanged online, refunds across channels and stock updates after returns.
Compliance Requirements Keep Changing
Payment Security
PCI DSS 4.0 requires merchants to control and monitor the scripts that run on their payment pages, so testing should confirm only approved scripts load during checkout.
Strong Customer Authentication
In the UK and Europe, many card payments need extra verification through 3-D Secure. Test the challenge flow, exemptions and what happens when a shopper fails or abandons the check.
Accessibility
The European Accessibility Act has applied to many e-commerce services since June 2025, and WCAG 2.2 sets the standard most teams test against. Accessibility now needs testing as a requirement, not an extra.
The E-Commerce Journeys That Need Testing Most
Journey | Key Areas to Test |
|---|---|
Product discovery and search | Relevance, autocomplete, filters, sorting, zero-result pages, product display |
Basket | Adding items, updating quantities, discounts, tax, delivery estimates, persistence |
Checkout and payment | Guest checkout, addresses, delivery options, payment methods, 3-D Secure, confirmations |
Accounts | Registration, sign-in, password reset, saved addresses and cards, order history |
Loyalty and promotions | Points earning and redemption, member pricing, personalised offers |
Small screens and mobile browsers | Responsive layouts, touch targets, form usability, speed |
Accessibility | Keyboard use, screen readers, contrast, target sizes |
Product Discovery and Search
If shoppers can’t find a product, they can’t buy it.
Search
Keyword searches return relevant products in a sensible order
Autocomplete suggestions match what shoppers mean
Spelling mistakes and synonyms still return useful results
Zero-result searches suggest alternatives
Filtering and Sorting
Filters for price, brand, category and rating combine correctly
Result counts update as filters change
Filters stay applied across pages of results
Sorting by price, popularity and newness works correctly
Clearing filters resets the results
Product Display
Images load quickly on every device and connection speed
Prices show correctly, including discounts
Stock availability is accurate
Reviews and ratings display properly
Quick view and comparison features work
Basket Management
Bugs in the basket hit shoppers at the moment they’re most likely to buy.
Adding Items
Products add with the right size, colour and quantity
Stock checks stop shoppers ordering more than is available
The basket icon updates with the right count
Confirmation is clear, with easy routes to continue shopping or check out
Updating the Basket
Changing quantities recalculates totals correctly
Items can be removed, saved for later or moved to a wishlist
Baskets persist across sessions and, for signed-in shoppers, across devices
Guest baskets merge correctly when a shopper signs in
Pricing
Subtotals, discounts, promotion codes, tax and delivery estimates all calculate correctly
Stacked promotions follow the intended rules
Prices round correctly in every currency
Checkout and Payment
Checkout is where revenue is won or lost.
The Checkout Flow
Guest checkout works
Creating an account during checkout causes no errors
Address lookup and validation work correctly
Delivery options and costs are accurate
Orders can be sent to more than one address, where supported
Gift messages and options work
Payment
Card payments succeed, with correct validation of card number, expiry date and security code
Saved cards work
Wallets such as PayPal, Apple Pay and Google Pay work in supported browsers
Buy-now-pay-later options work end to end
3-D Secure challenges, approvals and failures are handled correctly
Only approved scripts load on payment pages
Order Confirmation
An order number is generated and shown
A confirmation email arrives promptly
The order summary is accurate
Invoices can be downloaded
Order history updates
Stock levels decrease correctly in back-end systems
Error Handling
Declined cards show clear, helpful messages
Timeouts don’t create duplicate orders
Validation errors explain what to fix
Shoppers can retry failed payments safely
Accounts and Profiles
Returning customers are often the most valuable, so account features need to work reliably.
Registration and Sign-In
New accounts are created and verified correctly
Social sign-in options work
Password reset works end to end
Multi-factor authentication works where enabled
Profile Management
Personal details, addresses and saved cards can be added, changed and removed
Communication and privacy preferences save correctly
Order History
Past orders and tracking information are accurate
Reordering works
Returns and exchanges can be started from the account
Loyalty and Rewards
Points balances are accurate
Points are earned on purchases and can be redeemed at checkout
Tier benefits and personalised offers display correctly
Small Screens and Mobile Browsers
Responsive Design
Layouts adapt correctly across common screen widths
Touch targets meet WCAG 2.2’s minimum of 24 by 24 CSS pixels, and ideally the recommended 44 by 44 for important buttons
Pages never scroll sideways
Images and media scale properly
Navigation menus work on small screens
Speed
Key pages load quickly on mobile connections
Images load lazily as shoppers scroll
Scripts don’t block the page from rendering
Touch Interactions
Swiping through product galleries works
Zooming on product images works
Dropdowns and form fields are easy to use with a touchscreen keyboard
Accessibility
Every step of the buying journey works with a keyboard alone
Screen readers announce products, prices, errors and confirmations correctly
Colour contrast meets WCAG AA
Error messages are clear and linked to the right fields
Time limits, such as checkout sessions, can be extended where needed
Testing Across E-Commerce Platforms
Platform | Testing Priorities | Common Issues |
|---|---|---|
Shopify and Shopify Plus | Themes, apps, checkout extensions, Shopify Payments, multiple currencies | Theme and app updates breaking custom features |
Adobe Commerce (Magento) | Multi-store configuration, extensions, B2B and B2C flows, complex products | Extension conflicts, caching and search configuration |
Custom platforms | Business rules, custom checkout and payment, stock sync, personalisation | Race conditions, caching problems, integration failures |
Headless commerce | API contracts, front-end and back-end consistency, multiple front ends | API version changes breaking front ends, token handling |
Shopify and Shopify Plus
How It Works
A hosted platform customised through themes, apps and Liquid templates. Shopify has replaced checkout.liquid with Checkout Extensibility, so checkout customisations now use checkout extensions and apps.
What to Test
Theme responsiveness across devices
App integrations and how apps interact with each other
The full checkout, including Shopify Payments and checkout extensions
Custom Liquid logic
Multiple currencies and languages
Common Problems
Theme updates breaking custom code
App conflicts causing checkout failures
Payment integration issues
Slower pages as more apps are added
Adobe Commerce (Magento)
How It Works
An enterprise platform with extensive configuration, supporting multiple stores, currencies and languages, and a large extension ecosystem.
What to Test
Multi-store configuration
Extension compatibility, especially after upgrades
Differences between B2B and B2C journeys
Configurable, grouped and bundled products
Advanced pricing and promotion rules
Common Problems
Extensions conflicting with core features
Cache warming affecting performance
Admin changes affecting the storefront unexpectedly
Search configuration, now OpenSearch in current versions, affecting results
Custom E-Commerce Platforms
How It Works
Built on frameworks such as React, Vue or Angular, with custom business logic and direct control over APIs and databases.
What to Test
Complex business rules
Custom checkout and payment flows
Stock synchronisation
Personalisation
API integrations
Common Problems
State management bugs in single-page applications
Race conditions under heavy traffic
Custom payment integration failures
Caches serving out-of-date prices or stock
Headless Commerce
How It Works
The front end is separate from the commerce back end and talks to it through APIs, often using frameworks such as Next.js or Nuxt.
What to Test
API contracts between front end and back end
Consistency across several front ends, such as the website and in-store kiosks
Content delivery and caching
Serverless functions
Common Problems
API changes breaking the front end
Complex state management
Authentication tokens handled inconsistently across services
Differences between data loaded at build time and at runtime
Preparing for Peak Season

Before Peak: Test Everything That Matters
Start comprehensive testing around eight weeks before peak trading.
Full Regression
Test every critical journey, including checkout with every payment and delivery option, accounts and loyalty, search and filters, and small-screen experiences.
Load Testing
Use load testing tools to check performance at expected peak traffic, database query speed, CDN and caching set-up, and payment provider capacity.
Third-Party Readiness
Check delivery carrier APIs, payment providers, fraud checks, stock systems and email providers, and confirm each can handle peak volumes.
During Peak: Watch Continuously and Fix Safely
Continuous Monitoring
Run synthetic checks on key journeys throughout trading, alert on failures and slowdowns, and keep live dashboards of customer journey health.
Fast Checks for Emergency Fixes
Keep a short smoke suite for critical journeys ready to run in minutes, so emergency fixes can be checked across browsers before they go live.
After Peak: Learn and Improve
Review what went wrong, find performance bottlenecks, compare production incidents with test coverage, and look at customer feedback for gaps testing missed. Use what you learn to strengthen next year’s preparation.
How AI is Changing E-Commerce Testing
Testing Large Catalogues Efficiently
Retailers can have thousands of products, and testing each one isn’t practical. A better approach is to identify product types, such as simple products, products with size and colour options, bundles, digital products and out-of-stock items, then test representative products from each type.
AI can help draft these tests from product specifications and requirements, while people decide which product types matter most.
Refer our article on Generative AI testing to understand the role of generative AI in test drafting, legacy migration, test data, failure analysis and much more.
Keeping Tests Working Through Constant Design Changes
E-commerce sites change constantly, through seasonal themes, promotional banners, navigation updates and A/B tests. Tests that depend on fixed locators break with every change. Tools that identify elements from several signals, such as visible text, position and page structure, keep tests running, and the best let your team review each repair, so design experiments don’t hide real functional changes.
Covering Many Browsers at Once
Shoppers use many combinations of browser and operating system. Running the same journey in parallel across Chrome, Safari, Firefox and Edge, on desktop and mobile browsers, is how teams catch problems like a checkout button failing only in Safari.
Catching Visual Problems
Product images, layouts and promotional graphics need to look right everywhere. Dedicated visual testing tools compare screenshots against approved baselines and flag meaningful differences, such as missing images or broken layouts at certain screen sizes. Functional tests that capture screenshots at each step also make visual problems easier to spot when a journey fails.
Putting E-Commerce Test Automation in Place
Phase 1: Prioritise Revenue-Critical Journeys
Work out which pages drive the most revenue, where shoppers abandon most, what has broken before and which journeys change most often.
Measure your current coverage, how long regression takes before releases and how much manual effort peak preparation needs.
Phase 2: Automate the Core Journeys
Start with tests for checkout across your main payment methods, basket management, search and filtering, and small-screen journeys. Connect them to your pipeline:
Trigger | Tests to Run |
|---|---|
Every commit | A fast smoke suite for critical journeys |
Every night | Full regression across key browsers |
Before every deployment | A release gate covering checkout and payments |
Phase 3: Expand Coverage
Add accounts and loyalty, omnichannel journeys, international checkout with multiple currencies and languages, promotion rules, notifications and accessibility.
Add visual and performance checks for key pages, and build reusable components for common steps such as signing in and checking out.
Phase 4: Keep Improving
Use real user data, A/B test results, conversion data and customer feedback to decide what to test next, and repeat your peak readiness process every year.
E-Commerce Testing with Virtuoso QA
Virtuoso QA’s e-commerce testing covers the full buying journey in web storefronts, from search to payment confirmation, across the browsers your customers use. Every run records which requirement each test covers, how each step went and who approved the test, so teams can see exactly what was checked before every release and every peak trading period.
Functional Testing of Every Buying Journey
Tests are written in plain English, so merchandisers, product owners and testers can describe journeys such as “add a discounted jacket and check out with a gift card” without code
Search, filters, basket, checkout, accounts and loyalty can each be tested as complete journeys, including declined cards, expired sessions and out-of-stock items
Touchstone drafts tests from product specs and promotion rules, citing the source for each one, so complex discount logic is tested the way the business defined it, and a named person approves every requirement before it’s built
API and Data Checks Behind the Storefront
One journey can place an order on screen, check the payment, tax and stock API responses, and confirm the order record in the database, so tests prove orders, prices and stock levels are right, not just that a confirmation page appeared
Business Process Orchestration follows omnichannel journeys across systems, such as an online order passing to the order management system for in-store collection
Data-Driven Testing for Payments, Prices and Promotions
One checkout journey can run against a table of payment methods, delivery options, currencies and promotion codes, so every combination that matters gets tested without writing separate tests
AI test data generation creates realistic customers, addresses and orders, including edge cases such as long addresses and special characters
Cross-Browser Coverage
Journeys run in parallel across 2,000+ browser and OS combinations, including mobile browsers, so problems like a checkout button failing only in Safari are caught before customers find them
Regression Before Every Release and Peak
Regression suites run automatically from Jenkins, Azure DevOps or GitHub Actions on every deployment, with a fast smoke suite of critical journeys ready for emergency fixes during peak trading
When seasonal designs and A/B tests change the page, Virtuoso QA proposes repairs for a reviewer to accept or reject, so suites keep pace without hidden changes
Reusable components for common steps, such as signing in, adding to basket and paying, mean one update flows into every journey that uses them
Faster Answers When Something Breaks
Screenshots, network data and console logs are captured at every step, and failures appear beside the last passing run with a likely cause, so teams can quickly tell a payment provider outage from a storefront bug
Related Reads
Empowering the QA team to put quality first for e-commerce
The Massive Spike in eCommerce: How test automation can help
E-commerce Test Automation: AI-Powered Testing for Online Stores & Payment Flows











