Closed krutidugade closed 1 year ago
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).
Results aren't as expected. The product can be viewed in Facebook Catalog with Availability as "Out of stock". I trashed all products and was able to see 2 trashed items in Facebook Catalog even after syncing products.
Also, not all the products I had appeared on Facebook Catalogue.
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).
These tests passed after I enabled " Hide out of stock items from the catalog" at WooCommerce > Settings > Products > Inventory. Updated the smoke tests document with this info.
Facebook Set from a Category with no products synced to Facebook.
This one failed. Facebook set with category that has no product didn't sync. However, this is listed as known bug so I believe that is a good thing. I'm going to go ahead and close the issue. Smoke testing done!
[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. [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.
Seems like these have been failing for a while. What would be the next step here? Are we comfortable with this behavior? Should we file a bug report? Or should we remove these tests?
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
Messenger
Tests
Product Feed
Prerequisites
Sync and show
orSync and hide
.Tests