feat: added totals tests for end 2 end RMA flow (#8906)

what:

I've added some specs and comments in the specs for where I think totals are incorrect. 

Lets get this test merged in as the status quo and proceed to fix these issues one by one.

Additionally, this also removes the temporary_difference as its not something we use. 

RESOLVES CC-346

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
Riqwan Thamir
2024-09-04 15:11:04 +02:00
committed by GitHub
parent 91f17fb176
commit de6f61b05f
8 changed files with 673 additions and 80 deletions

View File

@@ -103,7 +103,6 @@ describe("Order Exchange - Actions", function () {
transaction_total: 0,
original_order_total: 270,
current_order_total: 312.5,
temporary_difference: 62.5,
pending_difference: 312.5,
difference_sum: 42.5,
paid_total: 0,