Use the list below as a short reference and/or copy it and use it as a checklist when performing your tests.
WooCommerce Activation Check
[x] Activate/deactivate the plugin.
[x] Connect to a Facebook business account.
[x] Enable "Log plugin events for debugging" after connecting an account.
Tests
[x] Install and activate the plugin with WooCommerce de-activated.
[x] Install and activate the plugin with WooCommerce activated.
Connect to Facebook Business Account
Prerequisites
[x] Facebook is not connected.
Tests
[x] Business account details are shown after connecting to Facebook and aren't empty.
[x] Catalog Name link is present and links to Facebook Catalog.
Product sync
Tests
[x] Clicking "Sync products" syncs products to Facebook Catalog.
[x] Excluding a Category will exclude products from the category being synced to Facebook Catalog and show the popup.
[x] New products added to the excluded Category aren't synced to Facebook Catalog and the message is shown.
New Simple Product
Tests
[x] Adding new Simple Product should sync the product to Facebook.
[x] Adding new Simple Product to Facebook Product sync excluded Category should show a message.
New Variable Product
Tests
[x] Adding new Variable Product with attributes should sync to Facebook.
Simple Product
Prerequisites
[x] A Simple Product synced to Facebook Catalog.
[x] Go to WooCommerce > Settings > Products > Inventory, enable "Hide out of stock items from the catalog" and Save changes.
Tests
[x] Edited the product name and description will sync to Facebook Catalog.
[x] Edited product price will sync to Facebook Catalog.
[x] Facebook price will sync to Facebook Catalog and overwrite the regular price.
[x] Zero stock quantity should remove a product from Facebook Catalog.
[x] Positive stock quantity should put the product back to Facebook Catalog.
[x] 'Do not sync' a product and confirm it is removed from Facebook Catalog (after clicking the correct option on the popup).
Simple Virtual Product
Tests
[x] Sync virtual product will sync and hide the product on Facebook.
Variable Product
Prerequisites
[x] Facebook synced Variable Product.
Tests
[x] Adding product variations from multiple product attributes should sync to Facebook.
[x] Managing stock for a variation and setting stock quantity to zero should remove the product from Facebook.
[x] [FAILING] Managing stock for a variation and setting stock quantity to a positive non-zero value should add the product variation to Facebook Catalog Items.
[x] Managing stock for variable product at product level should remove the product and all its variations from Facebook.
[x] [FAILING] Managing stock for variable product at product level with a positive Stock quantity should add an out of stock product back into Facebook Catalog.
Product Set
Prerequisites
[x] A Category with products synced to Facebook.
[x] A Category with products not synced to Facebook.
[x] A Category with products either synced, partially synced or not synced to Facebook.
Tests
[x] Facebook Set from a Category syncs to Facebook.
[x] Facebook Set from excluded Category does not sync to Facebook.
[x] Facebook Set from a Category with no products does not sync to Facebook.
Product Feed
Prerequisites
[x] At least one product synced to Facebook with a status of Sync and show or Sync and hide.
Tests
[x] Check Product feed file exists.
[x] Check Product Feed has all the products synced to Facebook.
[x] Update one of the products and check the changes populated to the feed file.
In this issue, we do compatibility testing with WooCommerce 9.2. The following check list is retrieved from https://github.com/woocommerce/facebook-for-woocommerce/wiki/Smoke-tests.
Test with:
Tests list
Use the list below as a short reference and/or copy it and use it as a checklist when performing your tests.
WooCommerce Activation Check
Tests
Connect to Facebook Business Account
Prerequisites
Tests
Product sync
Tests
New Simple Product
Tests
New Variable Product
Tests
Simple Product
Prerequisites
Tests
Simple Virtual Product
Tests
Variable Product
Prerequisites
Tests
Stock quantity
should add an out of stock product back into Facebook Catalog.Product Set
Prerequisites
Tests
Product Feed
Prerequisites
Sync and show
orSync and hide
.Tests