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

Release Testing Instructions WooCommerce Admin 3.2.0

Ilyas Foo edited this page Feb 24, 2022 · 9 revisions

Smoke Test Checklist

Testing instructions for smoke tests can be found in the Smoke Test Checklist wiki page.

New Feature Tests

Make $customer_id public again #8371

  1. Download and install WooCommerce Square plugin
  2. Go to Plugins > WooCommerce Square > Configure
  3. Enable sandbox mode and setup sandbox account with Square
  4. Go to WooCommerce > Settings > Payments and enable Square payments
  5. Create a test product
  6. Attempt to purchase the product via customer facing UI using WooCommerce Square payments. You can use the test credit cards here
  7. Make sure purchase is successful

WooCommerce Payments task in new task list experiment

  1. On a new WooCommerce site finish the onboarding flow and make sure to select WooCommerce Payments under the free features in the Business Details step.
  2. Enable the woocommerce_tasklist_progression_headercard_2col_2022_02 treatment by opening your browser console and running localStorage.setItem('explat-experiment--woocommerce_tasklist_progression_headercard_2022_02', '{"experimentName":"woocommerce_tasklist_progression_headercard_2022_02","variationName":"treatment","retrievedTimestamp":' + Date.now() + ',"ttl":7200}');.
  3. Go to WooCommerce > Home or refresh this page, a new task list should be displayed (example pic)
  4. Store Details task should not be present and the Get paid with WooCommerce Payments task should be displayed in the new task list with a Set up additional payment providers in the Things to do next task list.
  5. Make sure you have WooCommerce Payments dev mode enabled (you can install the WooCommerce Payments dev tools plugin for this)
  6. Click on the Get paid with WooCommerce Payments and set up/connect WooCommerce Payments
  7. Once finished and redirected back to WooCommerce > Home the Get paid with WooCommerce Payments should not be present anymore in the new task list. Instead an uncompleted Set up payments should be listed.
  8. The Things to do next task list should not include the Set up additional payment providers task anymore.

Fix category report query returns invalid net sales

  1. Create a new store and finish the Onboarding flow
  2. Go to Products > Add New and create a product called Hoodie with Pocket with the price $35
  3. Create a new category called Hoodie with Clothing as the parent category in the Product categories on the right.
  4. Select Clothing and Hoodie with Pocket as well and click Update
  5. Create an order with a single item of Hoodie with Pocket (keep note of the total price)
  6. Run the action scheduler (make sure all are run), you can do this manually by going to WooCommerce > Status > Scheduled Actions. If your queue is large, just make sure that the wc-admin_import_orders actions are run.
  7. Go to Analytics > Overview and scroll down to the Leaderboards
  8. Observe that the Clothing category has only 1 items sold and net sales is $35
  9. Click on Clothing it will redirect to the Categories page and show the correct numbers
  10. Now click on Analytics > Categories again and scroll down to the table
  11. Observe that the Clothing category has only 1 items sold and net sales is $35

Hide store address fields in regions that specify hidden #8172

  1. Go to the store setup wizard
  2. Change to a country like Guatemala that hides the post code
  3. Verify that the post code is hidden and "Continue" still works as expected
  4. Switch to a different country with all fields shown and make sure things still work as expected

Add localized validation to store address #8123

Store details

  1. Navigate to the Store Details step of the profiler
  2. Change the country/region to US.
  3. Check that all fields are still required
  4. Change your country to Australia
  5. Make sure post code and city labels are updated (you can check this list here for other country requirements by shortcode)
  6. Change the country to Hong Kong
  7. Check that zip/postal is no longer required

Tasks

  1. Delete any shipping zones you might have
  2. Clear your address in WooCommerce > Settings aside from the country/region.
  3. Visit the Shipping task in the task list
  4. It should prompt you to put in the store address.
  5. This should follow the same store address validation as the Store Details step.

Enhance report chart i18n support #8129

  1. Go to Analytics > Overview
  2. Observe chart texts for the months when hovering over the graphs, that they show normally in English/site language.
  3. Select different "Date range" options, and repeat step 2 until all months are confirmed.
  4. Go to Settings > General
  5. Change the "Site Language" to another languages like "Português do Brasil" (See example of the updated month here)
  6. Repeat 1 ~ 3 steps

Add MailPoet to Installed marketing extensions #8091

  1. Go to Marketing > Overview
  2. MailPoet is not shown in Installed marketing extensions
  3. Go to Plugins and install but don't activate MailPoet 3
  4. Go to Marketing > Overview
  5. See MailPoet in Installed marketing extensions
  6. Click Activate
  7. Click Finish Setup
  8. Finish MailPoet setup (fill with dummy data)
  9. Go to Marketing > Overview
  10. See MailPoet links to Docs, Support, and Settings

Add additional store profiler track for the business details tab. #8265

  1. Open your console and make sure you have tracks outputted ( localStorage.setItem( 'debug', 'wc-admin:*' ); )
  2. Go to the Onboarding wizard and step through until the business details /wp-admin/admin.php?page=wc-admin&path=%2Fsetup-wizard&step=business-details
  3. A storeprofiler_step_view should be triggered with business-details as the step.
  4. Fill out the dropdowns and click continue
  5. A storeprofiler_step_complete should of fired with a step prop of business-details. A new storeprofiler_step_view should of also fired with business-features as a step. Now select some free features and click continue.
  6. A storeprofiler_step_complete should of fired with a step prop of business-features.
  7. Check the general styling of the business features tab to make sure things look good still.
Clone this wiki locally