This repository has been archived by the owner on Jul 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 144
Release Testing Instructions WooCommerce Admin 2.9.0
Joshua T Flowers edited this page Nov 6, 2021
·
2 revisions
Testing instructions for smoke tests can be found in the Smoke Test Checklist wiki page.
Smoke testing
- Make sure the task lists and all tasks are returned as expected
- Go to Products->Help (tab)->Setup Wizard
- Attempt to Disable/Enable the task lists and make sure these actions work as expected
- Smoke test the task list, viewing, snoozing, dismissing, and undoing those actions
Performance testing
- Create a site with 1k+ products using WC Smooth Generator
- Install the Query Monitor plugin - https://wordpress.org/plugins/query-monitor/
- Sort "Queries" by time to load
- Navigate to a core WC page (like Orders or Products)
- Note the highest is not stemming from the order counts query in the task list
Avalara supported, WooCommerce Tax supported
- Select an Avalara and WC Tax supported country (e.g.,
US
) for your store's country - Visit the tax task.
- Make sure your shown the "WooCommerce Tax" and "Avalara" options in the task list
Avalara supported, WooCommerce Tax not supported
- Install the TaxJar plugin so that WC Tax is not supported and set your country to an Avalara supported country
- Visit the task tax.
- Make sure you are shown only the partner card of Avalara
Avalara not supported, WooCommerce Tax not supported
- Set your store country to one not supported by Avalara or WC Tax (e.g., New Caledonia)
- Visit the task tax.
- Make sure you are immediately shown the manual set up flow with the "Configure" button
Partner actions
- Visit the task tax with an Avalara supported country
- Click Avalara and check that a new tab opens with the WCCOM plugin page
- Back on the task tax, click on WooCommerce Tax
- Make sure you are dropped into the old configuration flow (which should be identical to the old flow)
Events
- Enter
localStorage.setItem( 'debug', 'wc-admin:*' );
in your browser's console - Set your store's country to an Avalara supported country
- Note the
wcadmin_tasklist_tax_view_options
event occurs - Click on each of the partner action buttons
- Make sure that
wcadmin_tasklist_tax_select_option
is recorded with the respectiveselected_option
partner key.
Completion
- Create a fresh site without ever having set any taxes
- Note the task is incomplete
- Install the WC Avalara plugin
- Check that the task is now marked complete