Automattic / Automattic/woocommerce-services

Test automated tax

Open
#2,015 0 comments 0 reactions 0 assignees View on GitHub
[Pri] High [Proj] E2E i1 [Type] E2E Taxes woocommerce-services
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.
![image](https://user-images.githubusercontent.com/572862/80039357-dde56700-84b4-11ea-8f91-504ae911c941.png)

Goes to a product page and add to cart. Click checkout, the tax should be calculated correctly.
![image](https://user-images.githubusercontent.com/572862/80039480-22710280-84b5-11ea-85cb-d9480dedd07a.png)

**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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.