capTests
Se connecter

Vérifier le calcul des totaux HT, TVA et TTC SMP-025

À tester Automatisable Tablette Desktop

Instructions

Objectif : vérifier l'exactitude des totaux du panier.

Étapes :

  1. Ajouter plusieurs produits à des taux de TVA différents.
  2. Observer le bloc des totaux.

Résultat attendu : sous-total HT, TVA par taux et total TTC sont cohérents avec les lignes (suppléments inclus).

Liens

Aucun lien.

Tests automatiques liés

SourceRéférence du testNiveau
phpunit RoundingTotalsTest::testCapfullposDecimalsOverrideReducesPrecision full
phpunit RoundingTotalsTest::testDiscountLineKeepsOrderEqualToInvoice full
phpunit RoundingTotalsTest::testFourDecimalUnitPriceIsNotTruncated full
phpunit RoundingTotalsTest::testOrderHeaderEqualsGeneratedInvoice full
phpunit RoundingTotalsTest::testStoredLineTotalsMatchDolibarrOracle full
phpunit RoundingTotalsTest::testSwissRoundingRuleIsHonored full
playwright 03-catalog-cart.spec.js::adding a product fills the cart and updates the totals full
playwright 03-catalog-cart.spec.js::adding a product fills the cart and updates the totals [SMP-018/025] full
playwright 10-rounding.spec.js::a 4-decimal unit price is carried into the invoice, not truncated full
playwright 10-rounding.spec.js::a fractional (weighed) quantity keeps order == invoice full
playwright 10-rounding.spec.js::a multi-rate cart keeps order == invoice full
playwright 10-rounding.spec.js::five 0.83 lines invoice to 5.00 and the order matches full
playwright 10-rounding.spec.js::three 0.83 lines invoice to 3.00 and the order matches full
playwright 20-mobile-layout.spec.js::adding a product surfaces the sticky cart bar and opens the cart sheet full
playwright specs/03-catalog-cart.spec.js > adding a product fills the cart and updates the totals full
vitest vat.test.js::calculateLineWithSupplements adds each supplement, multiplied by the line quantity, with its own VAT rate partial
vitest vat.test.js::vat - calculateLineTotals keeps cent precision on fractional unit prices partial
vitest vat.test.js::vat - calculateLineTotals multiplies unit price by quantity then applies VAT partial
vitest vat.test.js::vat - calculateOrderTotals breaks VAT down per rate across multiple lines partial
vitest vat.test.js::vat - calculateOrderTotals sums a single line partial
vitest vat.test.js::vat - Dolibarr rounding parity (2 decimals) aggregates a multi-rate cart to the Dolibarr per-line sum partial

Vidéos de test

Aucune vidéo. Les tests automatiques publient ici la vidéo de référence (succès, une seule fois) et, en cas d'échec, la vidéo d'échec à comparer.

Historique des verdicts

Aucun verdict enregistré.

Discussion

Aucun commentaire pour l'instant.