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 2.5.0

Fernando edited this page Jul 26, 2021 · 6 revisions

Smoke Test Checklist

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

New Feature Tests

The following new features/bug fixes should also be tested. You can use a test site from the above test flows to perform these tests.

Fix WC Home crash when the Analytics is disabled #7343

  1. Navigate to WooCommerce -> Settings -> Advanced -> Features. Uncheck Analytics and save the changes.
  2. Navigate to WooCommerce -> Home and confirm the page loads without an error.

Fix links on the dismiss dropdown are not clickable #7342

Please make sure to test it on Safari as well.

  1. Navigate to WooCommerce -> Home
  2. Click [ Dismiss ] button
  3. Confirm that the links are clickable

Fix undefined method error when setting up WC Tax #7344

  1. Set up your store with US address to make sure automated tax is supported.
  2. Install "WooCommerce Shipping & Tax" plugin.
  3. Go to WooCommerce > Home > Set up tax.
  4. Click on "Yes please"
  5. Confirm that no error has occurred and you're redirected to the home screen.

Fix missing translation strings for CES #7270

  1. Navigate to Settings -> General and change the site language to a non-English (I've used Espanol for testing purposes).
  2. You might need to update the language file if it's your first time using the selected language. Update the language file from Dashboard -> Updates
  3. Go to WooCommerce -> Settings
  4. Click the [ Save Changes ] button to trigger the CES modal.
  5. Confirm the modal has correct translations (Refer to the screenshots)

Add missing translation strings in the business features section #7268

  1. Checkout this branch and run npm start
  2. Navigate to Settings -> General and change the site language to non-English (I've used Espanol for testing purposes)
  3. You might need to download the new language in Dashboard -> Updates
  4. Navigate to wp-admin/admin.php?page=wc-admin&path=%2Fsetup-wizard&step=business-features and confirm the translation is working as expected.

Fix inbox note dismiss dropdown not closing on Safari #7278

  1. Checkout this branch and run npm start
  2. Navigate to WooCommerce -> Home
  3. Click "Dismiss" on a note. Confirm the position of the popover is correct.
  4. Click anywhere outside of the popover content and confirm the popover is closed.

Add TableSummaryPlaceholder to support skeleton loading #7294

  1. Visit any page using element Table to see this update.
  2. For example, Products, Orders, Revenue under Analytics; or Transactions, Deposits under Payments.
  3. While loading, scrolling down to the bottom of the table to see the placeholder of TableSummary.

Sync the category lookup table when a new category gets created #7290

  1. Navigate to Products -> Add New
  2. Add a new category on the Add New page and assign the product to it.
  3. Place an order with the product
  4. Navigate to Analytics -> Categories
  5. You should see the category.

Remove facebook extension from onboarding extensions fallback list #7287

  1. Go to the OBW and look at the Free features tab
  2. Observe no Facebook extension in the list

"Terms of service" link disappears from "Set up Tax" screen #7269

  1. Go to OBW setup wizard.
  2. Uncheck the "WooCommerce shipping" and "WooCommerce Tax" options at Free features step.
  3. Complete the OBW setup.
  4. Go to WooCommerce->Home.
  5. Click on "Set up Tax" option on Task list.
  6. TOS should not blink.

Use saved values if available when switching tabs #7226

  1. Start onboarding wizard and continue to step 4.
  2. Enter selections for business details and choose "Continue"
  3. Select the tab "Business details" to go back
  4. Confirm that the previously selected values are shown.

Change the emailed report file name #7178

Confirm the default behaviour remains the same

  1. Create a new store and install the WP Mail Logging by MailPoet plugin
  2. Go to Analytics -> Revenue and change the date range to last month
  3. Click the download button and make sure you see the "Your revenue report will be emailed to you" notification
  4. Go to Tools -> Scheduled Action and run the newly created woocommerce_admin_report_export action. After that is complete, run the woocommerce_admin_email_report_download_link action.
  5. Go to Tools -> WP Mail Log and check the latest email. The URL linked to the "Download your Revenue report" should work as usual. The URL will be something like filename=wc-revenue-report-export-16236128226138

Confirm the new filter is working

  1. Add this code to the woocommerce-admin.php file
add_filter( 'woocommerce_admin_export_id', function ($export_id) {
	return 'different_export_id';
} );
  1. Repeat the same steps from above. The filename in the link now should be different_export_id.

Payment gateway suggestions feature

  1. Navigate to the homescreen via WooCommerce -> Home
  2. Click on "Set up payments"

How to test

Individual payment gateway plugins dictate the settings and connection flow. For testing purposes, we'll test both the default behavior of the gateway and the enhanced configuration behavior.

  1. On the payments task, click "Set up" or "Enable" next to a gateway
  2. Note that the gateway is installed if it requires a plugin
  3. On the connection step, a button should be presented that links to the gateway's (legacy) settings screen
  4. Delete the plugin
  5. Install some of the payment gateways from the links below. They don't need to be activated, but the folder names should match those on WordPress.org to avoid conflicts.
  6. If setting fields are shown, make sure that validation works, input is saved, and is persisted on page refresh. Make sure the gateway is marked as enabled and not labeled "Requires setup" if all fields are completed.
  7. If the "Connect" button is shown, follow the connection flow. Make sure that you are returned to the payments task and that the gateway is enabled and marked as configured.
  8. Remove some settings manually under the payment gateway's legacy settings screen. Make sure the gateway is no longer marked as configured.
PayFast
  1. Set your country to South Africa in WooCommerce->Settings
  2. Don't select CBD as an industry during onboarding
Paystack
  1. Set your country to South Africa in WooCommerce->Settings
  2. Don't select CBD as an industry during onboarding
  3. Complete the payment tasks
  4. Make sure that ZAR is the site currency after configuration of Paystack and that "test mode" is turned off in settings
Stripe
  1. Set your store country to a Stripe supported country (e.g., US - https://stripe.com/global )
  2. Don't select CBD as an industry during onboarding
  3. Make sure you're using a site with https
  4. Attempt to use the oauth connection flow to enable the gateway, making sure you are returned to the site and connection is successful
  5. Remove the connection and use a non-https site
  6. Check that the manual settings configuration flow is shown
PayPal
  1. Set your store country to any country except India
  2. Don't select CBD as an industry during onboarding
  3. Make sure the PayPal connection flow is shown and works as expected
  4. In Chrome, open the console "Network" tab and right-click on the get-params request and select "Block request URL"
  5. Refresh the page and note that the manual settings flow is shown
Klarna
  1. Set your store country to one of the following: SE, FI, NO
  2. Don't select CBD as an industry during onboarding
Mollie
  1. Set your store country to one of the following: FR, DE, GB, AT, CH, ES, IT, PL, FI, NL, BE
  2. Don't select CBD as an industry during onboarding
Mercado Pago
  1. Set your store country to one of the following: AR, BR, CL, CO, MX, PE, UY
  2. Make sure the help text is shown when setting up the gateway with links to registration and the settings screen.

WooCommerce Payments

  1. Set your store country to one of the following: US, PR
  2. Don't select CBD as an industry during onboarding
  3. Make sure the WC Pay card is shown above the other payment gateways
  4. Attempt to install and configured the gateway
Cash on Delivery
  1. Make sure "Enable" is shown and clicking this enables the gateway
  2. Make sure the "Manage" button is shown after enabling the gateway
Direct bank transfer
  1. Make sure "Set up" is shown next to the gateway
  2. Enter some bank details
  3. Make sure the gateway is marked as enabled and configured with the entered settings when visiting the legacy settings screen
RazorPay
  1. Set your store country to India
  2. Don't select CBD as an industry during onboarding
PayU
  1. Set your store country to India
  2. Don't select CBD as an industry during onboarding
eWAY
  1. Set your store country to one of the following: AU, NZ
  2. Don't select CBD as an industry during onboarding
  3. Make sure the API key and password fields are shown
Square
  1. Set your store country to the US and select CBD as an industy during onboarding OR set your store country to one of US, CA, JP, GB, AU, IE, don't select CBD as an industry and select that you have a physical store in the business details step.
  2. Make sure the connection flow is shown.
Clone this wiki locally