woocommerce / facebook-for-woocommerce

A first-party extension plugin built for WooCommerce. Development is managed by Ventures.
https://woocommerce.com/products/facebook/
GNU General Public License v2.0
210 stars 137 forks source link

Smoke Testing v3.0.28 #2577

Closed krutidugade closed 1 year ago

krutidugade commented 1 year ago

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

Product Set

Prerequisites

Tests

Messenger

Tests

Product Feed

Prerequisites

Tests

krutidugade commented 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.

Screenshot 2023-07-12 at 6 11 38 PM Screenshot 2023-07-12 at 6 12 23 PM

Also, not all the products I had appeared on Facebook Catalogue.

krutidugade commented 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).

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.

krutidugade commented 1 year ago

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?