Automattic / Automattic/woocommerce-services
Test automated tax
- Dominant language
- JavaScript
- Stars
- 112
- Forks
- 31
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 14
Description
**Test the following use case:**
User enabled automated taxes.

Goes to a product page and add to cart. Click checkout, the tax should be calculated correctly.

**Test should include:**
- Ship item from `from_address` to `to_address`. If both `from_address` and `to_address` are in the same nexus, then expect tax to calculate properly.
- If `from_address` and `to_address` are from 2 different states, then tax will be 0. (ref: https://docs.woocommerce.com/document/woocommerce-services/#automated-taxes-do-not-appear-to-be-calculating)
Contributor guide
Research direction
Start by reviewing the automated-tax checkout flow described in the issue and the linked WooCommerce Services documentation. Exercise a product-page purchase through the cart and checkout: same-nexus addresses should calculate tax correctly, while addresses in different states should produce zero tax.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100