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.5.0
Fernando edited this page Jul 26, 2021
·
6 revisions
Testing instructions for smoke tests can be found in the Smoke Test Checklist wiki page.
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.
- Navigate to WooCommerce -> Settings -> Advanced -> Features. Uncheck Analytics and save the changes.
- Navigate to WooCommerce -> Home and confirm the page loads without an error.
Please make sure to test it on Safari as well.
- Navigate to WooCommerce -> Home
- Click [ Dismiss ] button
- Confirm that the links are clickable
- Set up your store with US address to make sure automated tax is supported.
- Install "WooCommerce Shipping & Tax" plugin.
- Go to WooCommerce > Home > Set up tax.
- Click on "Yes please"
- Confirm that no error has occurred and you're redirected to the home screen.
- Navigate to Settings -> General and change the site language to a non-English (I've used Espanol for testing purposes).
- 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
- Go to WooCommerce -> Settings
- Click the [ Save Changes ] button to trigger the CES modal.
- Confirm the modal has correct translations (Refer to the screenshots)
- Checkout this branch and run
npm start
- Navigate to Settings -> General and change the site language to non-English (I've used Espanol for testing purposes)
- You might need to download the new language in Dashboard -> Updates
- Navigate to wp-admin/admin.php?page=wc-admin&path=%2Fsetup-wizard&step=business-features and confirm the translation is working as expected.
- Checkout this branch and run npm start
- Navigate to WooCommerce -> Home
- Click "Dismiss" on a note. Confirm the position of the popover is correct.
- Click anywhere outside of the popover content and confirm the popover is closed.
- Visit any page using element Table to see this update.
- For example, Products, Orders, Revenue under Analytics; or Transactions, Deposits under Payments.
- While loading, scrolling down to the bottom of the table to see the placeholder of TableSummary.
- Navigate to Products -> Add New
- Add a new category on the Add New page and assign the product to it.
- Place an order with the product
- Navigate to Analytics -> Categories
- You should see the category.
- Go to the OBW and look at the Free features tab
- Observe no Facebook extension in the list
- Go to OBW setup wizard.
- Uncheck the "WooCommerce shipping" and "WooCommerce Tax" options at Free features step.
- Complete the OBW setup.
- Go to WooCommerce->Home.
- Click on "Set up Tax" option on Task list.
- TOS should not blink.
- Start onboarding wizard and continue to step 4.
- Enter selections for business details and choose "Continue"
- Select the tab "Business details" to go back
- Confirm that the previously selected values are shown.
Confirm the default behaviour remains the same
- Create a new store and install the WP Mail Logging by MailPoet plugin
- Go to Analytics -> Revenue and change the date range to last month
- Click the download button and make sure you see the "Your revenue report will be emailed to you" notification
- Go to Tools -> Scheduled Action and run the newly created
woocommerce_admin_report_export
action. After that is complete, run thewoocommerce_admin_email_report_download_link
action. - 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
- Add this code to the
woocommerce-admin.php
file
add_filter( 'woocommerce_admin_export_id', function ($export_id) {
return 'different_export_id';
} );
- Repeat the same steps from above. The filename in the link now should be
different_export_id
.
- Navigate to the homescreen via WooCommerce -> Home
- Click on "Set up payments"
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.
- On the payments task, click "Set up" or "Enable" next to a gateway
- Note that the gateway is installed if it requires a plugin
- On the connection step, a button should be presented that links to the gateway's (legacy) settings screen
- Delete the plugin
- 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.
- 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.
- 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.
- Remove some settings manually under the payment gateway's legacy settings screen. Make sure the gateway is no longer marked as configured.
- Klarna - https://github.com/woocommerce/woocommerce-admin/files/6880208/klarna-checkout-for-woocommerce.zip
- PayFast - https://github.com/woocommerce/woocommerce-admin/files/6880205/woocommerce-payfast-gateway.zip
- PayPal - https://github.com/woocommerce/woocommerce-admin/files/6880109/woocommerce-paypal-payments.zip
- RazorPay - https://github.com/woocommerce/woocommerce-admin/files/6880201/woo-razorpay.zip
- Stripe - https://github.com/woocommerce/woocommerce-admin/files/6880197/woocommerce-gateway-stripe.zip
- MercaoPago - https://github.com/woocommerce/woocommerce-admin/files/6880192/woocommerce-mercadopago.zip
- Square - https://github.com/woocommerce/woocommerce-admin/files/6880117/woocommerce-square.zip
- eWAY - https://github.com/woocommerce/woocommerce-admin/files/6880111/woocommerce-gateway-eway.zip
- Set your country to South Africa in WooCommerce->Settings
- Don't select CBD as an industry during onboarding
- Set your country to South Africa in WooCommerce->Settings
- Don't select CBD as an industry during onboarding
- Complete the payment tasks
- Make sure that
ZAR
is the site currency after configuration of Paystack and that "test mode" is turned off in settings
- Set your store country to a Stripe supported country (e.g., US - https://stripe.com/global )
- Don't select CBD as an industry during onboarding
- Make sure you're using a site with https
- Attempt to use the oauth connection flow to enable the gateway, making sure you are returned to the site and connection is successful
- Remove the connection and use a non-https site
- Check that the manual settings configuration flow is shown
- Set your store country to any country except India
- Don't select CBD as an industry during onboarding
- Make sure the PayPal connection flow is shown and works as expected
- In Chrome, open the console "Network" tab and right-click on the
get-params
request and select "Block request URL" - Refresh the page and note that the manual settings flow is shown
- Set your store country to one of the following:
SE, FI, NO
- Don't select CBD as an industry during onboarding
- Set your store country to one of the following:
FR, DE, GB, AT, CH, ES, IT, PL, FI, NL, BE
- Don't select CBD as an industry during onboarding
- Set your store country to one of the following:
AR, BR, CL, CO, MX, PE, UY
- Make sure the help text is shown when setting up the gateway with links to registration and the settings screen.
- Set your store country to one of the following:
US, PR
- Don't select CBD as an industry during onboarding
- Make sure the WC Pay card is shown above the other payment gateways
- Attempt to install and configured the gateway
- Make sure "Enable" is shown and clicking this enables the gateway
- Make sure the "Manage" button is shown after enabling the gateway
- Make sure "Set up" is shown next to the gateway
- Enter some bank details
- Make sure the gateway is marked as enabled and configured with the entered settings when visiting the legacy settings screen
- Set your store country to India
- Don't select CBD as an industry during onboarding
- Set your store country to India
- Don't select CBD as an industry during onboarding
- Set your store country to one of the following:
AU, NZ
- Don't select CBD as an industry during onboarding
- Make sure the API key and password fields are shown
- Set your store country to the
US
and select CBD as an industy during onboarding OR set your store country to one ofUS, 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. - Make sure the connection flow is shown.