Stock panel tests

Timmy Crawford 2020-12-18 11:42:01 -08:00
parent 7fd77922e2
commit 2df1abb187
1 changed files with 21 additions and 0 deletions

@ -40,6 +40,27 @@ __Reviews Panel on Home Screen__
- Also verify the "Manage all reviews" link takes you to the full listing of product reviews `wp-admin/edit-comments.php?comment_type=review`
- If no reviews are needing review it should not be allowed to collapse.
### Stock Home Screen Panel
In this release, the Stock Activity Panel, much like the reviews panel, has been moved to the WooCommerce Home Screen.
![Screen Shot 2020-11-24 at 9 56 33 AM](https://user-images.githubusercontent.com/63922/100126617-2c445500-2e4c-11eb-9680-1867e11fb710.png)
#### Testing the Stock Panel:
- Ensure your test store has **Manage Stock** enabled on `wp-admin/admin.php?page=wc-settings&tab=products&section=inventory`
- Also make note of the Low Stock and Out of Stock threshold numbers on that settings page as it impacts the tests.
- With no products out of stock, verify the panel says "0" and is closed
- With less than 5 products out of stock, verify the panel shows the exact number of placeholders while loading
- With more than 5 products out of stock, verify the panel shows only 5 placeholders while loading
- (Still with 5+) Update a product so it is no longer out of stock
- Verify the product dismisses and another is fetched
- Verify the count decreases
- Update another product
- Click "undo" on the snackbar notice
- Verify the changes were undone
- Verify the stock panel is no longer in the header
### Customer Effort Score
In WooCommerce 4.9, we are introducing a new customer survey utility to gather feedback from users around various product features. The following set of test cases require that the site has opted in to tracking via `WooCommerce > Settings > Advanced > WooCommerce.com`