Skip to content

Release Testing Instructions WooCommerce 6.0

rodelgc edited this page Dec 15, 2021 · 22 revisions

WooCommerce 6.0 includes:


WooCommerce Admin Updates:

Note that this release contains an ExPlat Experiment on the Task List. You may randomly be selected to view an updated Task List UI.

Smoke testing

  1. Make sure the task lists and all tasks are returned as expected
  2. Go to Products->Help (tab)->Setup Wizard
  3. Attempt to Disable/Enable the task lists and make sure these actions work as expected
  4. Smoke test the task list, viewing, snoozing, dismissing, and undoing those actions

Performance testing

  1. Create a site with 1k+ products using WC Smooth Generator
  2. Install the Query Monitor plugin - https://wordpress.org/plugins/query-monitor/
  3. Sort "Queries" by time to load
  4. Navigate to a core WC page (like Orders or Products)
  5. Note the highest is not stemming from the order counts query in the task list

Avalara supported, WooCommerce Tax supported

  1. Select an Avalara and WC Tax supported country (e.g., US) for your store's country
  2. Visit the tax task.
  3. Make sure your shown the "WooCommerce Tax" and "Avalara" options in the task list

Avalara supported, WooCommerce Tax not supported

  1. Install the TaxJar plugin so that WC Tax is not supported and set your country to an Avalara supported country
  2. Visit the task tax.
  3. Make sure you are shown only the partner card of Avalara

Avalara not supported, WooCommerce Tax not supported

  1. Set your store country to one not supported by Avalara or WC Tax (e.g., New Caledonia)
  2. Visit the task tax.
  3. Make sure you are immediately shown the manual set up flow with the "Configure" button

Partner actions

  1. Visit the task tax with an Avalara supported country
  2. Click Avalara and check that a new tab opens with the WCCOM plugin page
  3. Back on the task tax, click on WooCommerce Tax
  4. Make sure you are dropped into the old configuration flow (which should be identical to the old flow)

Events

  1. Enter localStorage.setItem( 'debug', 'wc-admin:*' ); in your browser's console
  2. Set your store's country to an Avalara supported country
  3. Note the wcadmin_tasklist_tax_view_options event occurs
  4. Click on each of the partner action buttons
  5. Make sure that wcadmin_tasklist_tax_select_option is recorded with the respective selected_option partner key.

Completion

  1. Create a fresh site without ever having set any taxes
  2. Note the task is incomplete
  3. Install the WC Avalara plugin
  4. Check that the task is now marked complete
  1. Complete the onboarding wizard without installing the recommended plugins.
  2. Navigate to WooCommerce -> Home and click Set up Shipping
  3. Click Proceed button on step 2
  4. You should be offered to finish step 3.

Task completion

  1. Delete any shipping rates & shipping zones so the shipping task is not marked complete.
  2. Delete WooCommerce Shipping & Tax plugin if active so that the plugins step appears.
  3. During onboarding, do not connect your store through Jetpack.
  4. Navigate to the shipping task.
  5. On the plugin installation step, click "No thanks"
  6. Note that you are redirected to the homescreen and the task is marked complete.

Connection step

  1. Delete any shipping rates & shipping zones so the shipping task is not marked complete.
  2. Delete WooCommerce Shipping & Tax plugin if active so that the plugins step appears.
  3. During onboarding, do not connect your store through Jetpack.
  4. Navigate to the shipping task.
  5. Continue installing the plugin.
  6. Note that you land on the Connect step

Task abandonment

  1. Delete any shipping rates & shipping zones so the shipping task is not marked complete.
  2. Navigate to the shipping task.
  3. Complete the rates step.
  4. Use the back button next to the page title to navigate back to the homescreen.
  5. Note that the task is marked complete since rates are complete.
  1. Use fresh site, and ensure you select a country that is WCPay supported (USA)
  2. Go through Onboarding wizard don't install any plugins in Business Details step
  3. Click the "Setup payments" task (NOT the WCPay specific task)
  4. Click "Get Started" button on the WCPay card.
  5. Notice how the Connect button is now present on step 2. Without this fix, the "Configure your WooCommerce Payments account" step would be empty.
  6. Try the same thing for the Paypal or Stripe gateways, step 2 should not be blank and should show the Set up button.

WooCommerce Blocks Updates:

Blocks 6.2.0

Blocks 6.3.0

Blocks 6.3.2

Blocks 6.3.3


WooCommerce Core Updates:

  1. Go to the WooCommerce - Status - Tools page. Verify that without adding the snippet mentioned here, you will see a new tool with the title "Create and fill product attributes lookup table":

  1. Click the "Create" button. After the page reloads you'll see that the button is disabled and shows a number corresponding to the number of products processed so far (the table is filled in increments using scheduled actions):

  1. Remove the &action=regenerate_product_attributes_lookup_table part from the page URL and reload it until the button changes to "Regenerate" and is enabled again. At this point the table is ready for use.

  1. Go to WooCommerce - Settings - Products - Advanced. Mark the "Use the product attributes lookup table for filtering" option and save.

Sync the product attributes lookup table on product creation/change/deletion

  1. Setup some additional products, use this csv file https://raw.githubusercontent.com/woocommerce/woocommerce/dbac025535e29f5f67bdd96ba256ca4531662b4e/DATA_FOR_POC/FilterByAttributeUsingLookup_Products.csv
  2. Trash a variable product
  3. Create/delete/modify products and variations as follows and verify that everything continues working.
  • A new product is created
  • A new variation is added to a product
  • A product or variation that had been trashed previously is untrashed
  • The product visibility changes to "search" or "hidden"
  • The attributes for a product change, this includes:
    • New attributes are added or deleted for a product
    • Terms are added or removed from the attribute definition for a product
    • The attribute changes between "used for variations" and not
    • The attributes for a variation change
  1. Delete the lookup table (from the WooCommerce > Status > Tools page)

Please test using Firefox.

  1. Add a product to your cart. There must be at least 2 of these products available.
  2. Visit the cart page and modify the quantity of the item. Update the cart and confirm the quantity has been updated and that the item is still in your cart.
  3. In a separate tab, visit the product page and add the product to your cart again. This must be the same product (and, if applicable, the same variation) you previously modified.
  4. Refresh the original tab. The cart should now have updated totals reflecting the action taken in step 3. The quantity input will also be correct if this patch is applied. Without this patch, you will still see the old quantity value.
  1. Add several reviews to several products.
  2. View the WordPress comments page
  3. See filter for Product Reviews
  4. Filter to just reviews.
  1. Go to the My Account page
  2. Add a payment method
  3. Immediately attempt to add another payment method
  4. Verify the error that you "tried too soon"
  5. If you're having trouble triggering the rate limit default, use this filter:
add_filter( 'woocommerce_payment_gateway_add_payment_method_delay', function() {
	return 60;
} );
  1. Go to Products > Add New, and create any type of product but with a negative price, ex: -0.00
  2. Go to Orders > Add Order, and create a new order with the previous negative-priced product
  3. Once the Order is generated, go to the Order and attempt to refund it
  4. See how the refund appears as 0 (previously would show as "- -0"

If your test store uses a self-signed SSL certificate, add this filter:

add_filter( 'http_request_args', function( $args ) {
        $args['sslverify'] = false;
        return $args;
} );
  1. Go to the following URL for your store: http://[STORE_DOMAIN]/wc-auth/v1/authorize?app_name=[APP_NAME]&scope=read_write&user_id=1&return_url=[STORE_DOMAIN]&callback_url=[STORE_DOMAIN] (where [STORE_DOMAIN] is your test store, and [APP_NAME] is at least 200 characters long)
  2. Follow the "approve" link
  3. Verify that the key is created and the description contains the truncated app_name, the text - API, and the current datetime.
  4. Go to WooCommerce > Settings > Advanced > REST API
  5. Click "Add key"
  6. Attempt to enter a description longer than 200 characters (paste in)
  7. Click "Generate API key"
  8. Verify the key was created and the description truncated at 200 chars
  9. Go to WooCommerce > Settings > Advanced > REST API
  10. Click "Add key"
  11. Use the developer tools to inspect the description field and remove the maxlength attribute
  12. Paste in a description longer than 200 characters
  13. Click "Generate API key"
  14. Verify an error message is shown
  1. As a shopper, add an item to the cart and proceed to the Checkout page.
  2. In the Checkout page, select "Chile" as the country.
  3. Verify that the "Regions" dropdown menu lists all regions in Chile. Refer to https://en.wikipedia.org/wiki/ISO_3166-2:CL for the full list of regions.
  4. Select any of the listed regions.
  5. Proceed with the checkout and payment until you get to the Order Summary page.
  6. Verify that Chile and the selected region were saved correctly in the Order Summary page, and in other pages where it is shown.
  7. As an admin, create a new order using Chile as country.
  8. Verify that the "State/County" menu also shows all regions in Chile.
  9. Continue creating the order.
  10. Verify that the address was saved correctly in the order.
  1. Go to Woo > Settings > Accounts & Privacy and enable Allow customers to create an account during checkout and Allow customers to create an account on the "My account" page while letting WC generate username and password.
  2. Add a product and enable one payment gw.
  3. Go through the checkout and enable the checkbox to create a new user account.
  4. Verify the email receives a link to set a new password instead of the password itself.
  5. Check that you can set the password and log in with it.
  6. Try to register/create the user account from My Account page.
  7. Repeat steps 5 & 6
  8. Go to Woo > Settings > Accounts & Privacy and disable creating of the new password automatically.
  9. Create a new user account through checkout.
  10. Check that the email doesn't contain the link to set a new password.
  11. Create a new user account through My Account page.
  12. Check that the email doesn't contain the link to set a new password.

WooCommerce Marketplace Updates

  1. Navigate to WooCommerce > Extensions > Browse Extensions page.
  2. Verify that the "per year" suffix still appears on certain cards.
  1. Check out this branch on your local environment.
  2. Go to WP Admin and observe the My Subscriptons and Marketplace items have been replaced with an Extensions menu item. If any of your WooCommerce extensions happen to need updating, the menu item should show an update count bubble – please see the screenshot for example. Otherwise you won't see the bubble.
  3. View the Extensions page. (The My Subscriptions tab will also show an update count bubble, if any extensions are due for an update. But if not, you won't see one.)
  4. Make sure you can navigate to the My Subscriptions page and back again.
  5. Try the links under Browse Categories. They should show different lists of extensions.
  6. Try the page on a mobile device.
    1. It should look like the screenshot at bottom.
    2. The My Subscriptions link should take you to the subscriptions page.
    3. The Browse Extensions tab on that page should return you to the WooCommerce Marketplace page.
    4. The Browse Categories dropdown list should continue to work.

Screenshots

Before

After

Mobile

Clone this wiki locally