Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Smoke Test Checklist

Adrian Duffell edited this page Feb 22, 2021 · 22 revisions

We have created a checklist of items for performing a smoke test of a WooCommerce Admin.

Onboarding Profile Wizard Flows

On a new test site ( Jurassic Ninja or Atomic Ephmeral ), test out the onboarding flow to ensure no regressions have occured.

  • Standard Flow, no “test” on business step. Use “Home, Furniture, Garden” as the industry
  • Variant A: US based address, Fashion Industry
  • Variant B: US based address, Food Industry

When testing any of these onboarding flows, maybe mix it up with some of these options:

  • Option: Select a paid product type upsell like subscriptions.
  • Option: Toggle some extension promotions off
  • Option: Select a Paid theme or non-default theme selection
  • Option: Go through Jetpack Connection at the end.

Home Screen

Welcome Modal

  • Upon completing the onboarding wizard, verify you see the welcome modal on the home screen.

Setup Check List

If you installed woo in a way that results in the setup check list not to be shown by default, it can be toggled on/off by visiting Orders > Help.

  • Complete all steps on setup checklist. This has many different options such as payment methods, product entry etc. Try to mix it up a bit!
  • Verify the ability to Hide the Setup Checklist also works ( use the help menu above to toggle it on/off ) Activity Panel Area
  • Verify the display toggle works as expected for 1 or 2 column view
  • Verify the Help Menu works as expected

Store Managment Links

  • Verify they are not shown when setup checklist is being shown
  • Verify when setup checklist is done/hidden that the links are shown.

Stats Overview

  • Interact with display options and verify they function as expected
  • Click on a summary number and confirm you are directed the the appropriate analytics report
  • Optional: Connect via Jetpack through this component if shown.

Inbox

  • Interact with some notes, do an action.
  • Dismiss a single note
  • Dismiss All Notes

Task Managment Area

  • If items are shown, like the orders panel, interact with the component.

WooCommerce Core Flows

wc-admin hooks into some lifecycle events on Products and Orders for various functionality like the Inbox, and Analytics system. As such it is important to smoke test other common flows in Woo.

Going Through these flows will also populate data for Analytics testing.

  • Create a new product
  • Edit a product
  • Create an order ( front end )
  • Create an order ( back end )
  • Edit an Order Status
  • When on the various admin screens for the above, interact with the Activity Panel links ( Inbox and Help ) wc_admin_daily job

WooCommerce Admin has a daily cron job that powers logic in various areas, but especially the Inbox. The WP Crontrol plugin is quite useful for triggering the job manually. Running the job manually will also trigger any ActionScheduler jobs that might be lingering for Analytics testing ( as will just navigating around on your test site )

  • Running the daily job and verify no errors or warnings are logged.
  • Note that new Inbox notifications have been created after running the job ( typical expectation for a new site, existing test sites this might not happen )

WooCommerce Analytics Flows

Smoke testing Analytics is a bit more challenging, as some of the reports require quite a bit of setup on the product and sales side to effectively use. If the current release doesn’t have any specific changes around reports, simply loading the various reports, and verifying a few like Revenue & Orders should be sufficient.

Analytics Overview Page

Again it is very helpful to have created at least one test order, and updated it to “Complete” to test out the analytics pages.

With those test orders in mind, perform the following:

  • Verify the Summary Numbers / Performance Indicators look correct
  • Adjust the Date Range filter on the analytics overview page and verify the page updates as expected.
  • Interact with the elipsis menu in the Perofrmance Indicators section. Toggle stats on/off, rename seciton, and move the section down.
  • Under the charts section, toggle between line and bar charts
  • Under Leaderboards section, toggle a leaderboard off or on
  • Hard refresh the page and verify order changes in sections, names, and summary number, chart, and leaderboard selections are persisted.

Other Analytics Reports

Select a report with data and verify basic analytics functionaity works.

  • Interact with date range picker
  • Clicking on a summary number adjusts the chart
  • Select a long date range, quarter to date, verify you can change the period on the chart
  • If applicable search in the table
  • Try a CSV download
  • Toggle visibility on table columns via elipsis menu
  • Interact with adbvanced filters

Analytics Settings

  • Change settings for Excluded and Actionable statuses
  • Adjust default date range
  • Save and hard refresh to verify settings have been persisted.

Other WooCommerce Admin Functionality

  • Load the Marketing Overview Page wp-admin/admin.php?page=wc-admin&path=%2Fmarketing
  • Load the Customers page wp-admin/admin.php?page=wc-admin&path=%2Fcustomers