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
[ ] Activate/deactivate the plugin.
[ ] Connect to a Facebook business account.
[ ] Enable "Log plugin events for debugging" after connecting an account.
Tests
[ ] Install and activate the plugin with WooCommerce de-activated.
[ ] Install and activate the plugin with WooCommerce activated.
Connect to Facebook Business Account
Prerequisites
[ ] Facebook is not connected.
Tests
[ ] Business account details are shown after connecting to Facebook and aren't empty.
[ ] Catalog Name link is present and links to Facebook Catalog.
Product sync
Tests
[ ] Clicking "Sync products" syncs products to Facebook Catalog.
[ ] Excluding a Category will exclude products from the category being synced to Facebook Catalog and show the popup.
[ ] New products added to the excluded Category aren't synced to Facebook Catalog and the message is shown.
New Simple Product
Tests
[ ] Adding new Simple Product should sync the product to Facebook.
[ ] Adding new Simple Product to Facebook Product sync excluded Category should show a message.
New Variable Product
Tests
[ ] Adding new Variable Product with attributes should sync to Facebook.
Simple Product
Prerequisites
[ ] A Simple Product synced to Facebook Catalog.
[ ] Go to WooCommerce > Settings > Products > Inventory, enable "Hide out of stock items from the catalog" and Save changes.
Tests
[ ] Edited the product name and description will sync to Facebook Catalog.
[ ] Edited product price will sync to Facebook Catalog.
[ ] Facebook price will sync to Facebook Catalog and overwrite the regular price.
[ ] Zero stock quantity should remove a product from Facebook Catalog.
[ ] Positive stock quantity should put the product back to Facebook Catalog.
[ ] '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
[ ] Sync virtual product will sync and hide the product on Facebook.
Variable Product
Prerequisites
[ ] Facebook synced Variable Product.
Tests
[ ] Adding product variations from multiple product attributes should sync to Facebook.
[ ] Managing stock for a variation and setting stock quantity to zero should remove the product from Facebook.
[ ] [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.
[ ] Managing stock for variable product at product level should remove the product and all its variations from Facebook.
[ ] [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
[ ] A Category with products synced to Facebook.
[ ] A Category with products not synced to Facebook.
[ ] A Category with products either synced, partially synced or not synced to Facebook.
Tests
[ ] Facebook Set from a Category syncs to Facebook.
[ ] Facebook Set from excluded Category does not sync to Facebook.
[ ] Facebook Set from a Category with no products does not sync to Facebook.
Product Feed
Prerequisites
[ ] At least one product synced to Facebook with a status of Sync and show or Sync and hide.
Tests
[ ] Check Product feed file exists.
[ ] Check Product Feed has all the products synced to Facebook.
[ ] Update one of the products and check the changes populated to the feed file.
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