Skip to content

Release Testing Instructions WooCommerce 7.6

Alejandro López Ariza edited this page Mar 29, 2023 · 16 revisions

WooCommerce 7.6 includes:


WooCommerce Blocks Updates

Slack Workflow: WooCommerce Blocks

Blocks 9.8.3 Testing instructions

Blocks 9.8.2 Testing instructions

Blocks 9.8.1 Testing instructions

Blocks 9.8.0 Testing instructions

Blocks 9.7.0 Testing instructions

Note: Please avoid testing this PR from Blocks 9.7.0 as it was reverted in Blocks 9.8.0.


WooCommerce Core Updates

When we link directly to a Pull Request, please use the testing instructions in that Pull Request. If it mentions something like "Load this branch" you can assume the release you are testing.

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

Conduct exploratory testing of the following flows:

  • Settings pages where radio buttons and checkboxes are displayed.
  • The features page (WooCommerce - Settings - Advanced - Features)
  • The tools page (WooCommerce - Status - Tools)

Slack Workflow: WooCommerce Core

(Note: this is a downloadable products regression to check that this tiny change didn't cause any issues in the main downloadable products flow):

  1. As an admin, head to WooCommerce > Settings > Payments and enable the Cash on delivery payment method
  2. As an admin, head to WooCommerce > Home > Add products, click View more product types and create a Digital product
  3. As a shopper, head to the Shop page of your store (yourstore.com/shop/) and buy the product you created in the previous step
  4. As an admin, go to WooCommerce > Orders, open the order you created and set the status to Completed
  5. As a shopper, head to My account > Downloads (yourstore.com/my-account/downloads/) and try to download the files
  6. Check that the files were successfully downloaded

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

  1. Visit the URL yourstore.com/wp-admin/admin.php?page=wc-admin&path=/add-product
  2. Check that you can see the Gutenberg block editor and interact with it
  3. Create a product and visit the URL yourstore.com/wp-admin/admin.php?page=wc-admin&path=/product/{productId}, where {productId} is the Id of the product that you created in the previous step
  4. Check that you can see the Gutenberg block editor and interact with it

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

  1. Make sure you use a theme compatible with widgets, like Storefront
  2. Head to Appearance > Widgets
  3. Add a new Legacy Widget block and inside the widget, select Product list
  4. Check apart from Date, Price, Random and Sales, you can also order by Menu order

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Admin Start Manage

  1. Open the browser devtools console
  2. Run through the onboarding wizard and ensure currencies display properly and there are no relevant errors thrown
  3. Use smooth generator to add several dummy products and orders
    1. To create products and orders wich WC Smooth Generator, head to Tools > WooCommerce Smooth Generator in the admin panel
  4. Conduct a brief exploratory testing session of the homescreen and ensure currencies display properly and there are no relevant errors thrown in the UI or the browser console
  5. Conduct a brief exploratory testing session of Analytics reports and ensure currencies display properly and there are no relevant errors thrown in the UI or the browser console

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

  1. Download the test CSV file here. (The sample.csv file in this changeset won't work because the Ajax-powered importer works in batches of 30 rows, so the number of rows needs to be a multiple of 30 + 1.)
  2. Note that it has 211 data rows in it (not including the headings row).
  3. In WooCommerce 7.5, try importing the file:
    1. Go to All Products > Import
    2. Check the box to update existing products (this way the data rows won't actually be imported into your test site)
    3. Continue and run the import
  4. You should see that 210 products were skipped, despite there being 211 products in the file.
  5. Now update to the WooCommerce 7.6 version that you are testing and go through the same process. This time it should correctly show that 211 products were skipped.

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

  1. Go to WooCommerce > Settings > Products and make sure “Enable product reviews” is enabled
  2. Head to Products > Add New and add a new product
  3. Go to Products > All Products and open the details of the product you created in the previous step
  4. In that page, scroll down to the Reviews section and add a comment
  5. Check that the spacing between the avatar looks good, and the info is not attached to the image as it is in earlier versions (like WooCommerce 7.5)
  6. Head to Product > Reviews and check that the spacing looks good here too

Slack Workflow: WooCommerce Core

  1. Go to Products > Add New
  2. Fill the form to create a new product and enable the Manage stock? checkbox in the Inventory section
  3. Set Stock quantity to 2 and save the order
  4. Go to WooCommerce > Orders, add a new order with this product (make sure the quantity is set to 1 and set the status to Completed
  5. Open again the product created previously and check that now the stock is 1 instead of 2

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Admin Start Manage

  1. Install the WooCommerce Beta Tester plugin
  2. Head to Tools > WCA Test Helper > Features and enable the new-product-management-experience feature flag
  3. Navigate to the add new product page
  4. Verify that the blocks breadcrumbs (beneath the header and tabs) and the sidebar blocks inspector no longer appear (see image provided in the PR)

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

  1. Install the WooCommerce Beta Tester plugin
  2. Head to Tools > WCA Test Helper > Features and enable the block-editor-feature-enabled feature flag
  3. Go to WooCommerce > Products > Add new
  4. Make sure things load correctly
  5. Now go to WooCommerce > Products > All products and click edit on a product, the block editor should load with the name correctly filled in

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

  1. Go to WooCommerce > Orders
  2. Create a test order with a few products.
  3. Open the browser's JS console and execute the following command:
    jQuery.ajax({url: woocommerce_admin_meta_boxes.ajax_url, data: { order_id: woocommerce_admin_meta_boxes.post_id, order_item_ids: [1], action: 'woocommerce_remove_order_item', security: woocommerce_admin_meta_boxes.order_item_nonce }, type: 'POST' });  
    • On WooCommerce 7.5, you should see a few PHP warnings like these:

      PHP Warning: foreach() argument must be of type array|object, string given in [...]woocommerce/includes/class-wc-ajax.php on line 1321 PHP Warning: Undefined variable $item_id in [...]woocommerce/includes/class-wc-ajax.php on line 1356 PHP Warning: Undefined variable $item in [...]woocommerce/includes/class-wc-ajax.php on line 1356 PHP Warning: Undefined variable $changed_stock in [...]woocommerce/includes/class-wc-ajax.php on line 1356

    • On the current WooCommerce 7.6 version that you're testing, no warnings should be logged.
  4. Confirm that you are able to add and remove products and order items from the order successfully.

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

Note: ignore point 1 for release testing.

Slack Workflow: WooCommerce Admin Start Manage

  1. Install the WooCommerce Beta Tester plugin
  2. Head to Tools > WCA Test Helper > Features and enable the new-product-management-experience feature flag
  3. Head to Products > Add New and make some changes to the form without saving them
  4. Click on a different menu item in the admin menu
  5. Check that you are prompted to save before leaving

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

  1. Set up a new site, go through OBW without installing any plugins. Set your location to Mexico
  2. Go to shipping task on the home screen and set up skydropx via the shipping task
  3. Should succeed without any errors.

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Admin Start Manage

  1. Install the WooCommerce Beta Tester plugin
  2. Head to Tools > WCA Test Helper > Features and enable the block-editor-feature-enabled feature flag
  3. Go to Products > Add new and check if the pricing and sales field show up
  4. Now create a product using the classic editor and add a price and sale price, load this product in the new product block form, the price and sale price should be displayed correctly.
  5. Go to WooCommerce > Settings and change the currency
  6. Reload the product block editor and make sure the icons in the price field match the new currency.

Slack Workflow: WooCommerce Admin Start Manage

Slack Workflow: WooCommerce Core

Slack Workflow: WooCommerce Core

  1. Set VAT exempt on the current user using one of the below ways.
    1. Install EU VAT Number and save the correct VAT number from My Account - OR
    2. Set vat exempt programmatically using a plugin like Code Snippets:
add_action('init', function(){
  if (isset(WC()->customer)){
     WC()->customer->set_is_vat_exempt(true);
  }
});
  1. Set tax options like this in Woo settings:

image

  1. Create a product with a price of 100 and a tax rate of 15% for testing purposes.
  2. Visit the Shop page and make sure the price for the created product showing 100.

Slack Workflow: WooCommerce Core

  1. Install directly the new WooCommerce version, without upgrading from a previous one.
  2. Check that the Setup Wizard appears after activating WooCommerce.
  3. Complete the Setup Wizard.
  4. Check that you're redirected to the WooCommerce > Home page, you can see the Task list and only the first one appears as completed.

--

Clone this wiki locally