capTests
Se connecter

Encaisser par carte bancaire SMP-034

À tester Automatisable Tablette Desktop

Instructions

Objectif : encaisser le total par carte bancaire.

Étapes :

  1. Ouvrir l'encaissement, choisir "Carte bancaire".
  2. Valider le montant.

Résultat attendu : le paiement CB est enregistré pour le montant dû, la commande est finalisée.

Liens

Aucun lien.

Tests automatiques liés

SourceRéférence du testNiveau
phpunit TpePaymentTest::testCreateTpeTicketsWritesPdf full
playwright 08-checkout-payment.spec.js::pays the total by card full
playwright 08-checkout-payment.spec.js::pays the total by card [SMP-034] full
vitest TpeService.test.js::payWithTpe falls back to the requested amount when the agent echoes no amount partial
vitest TpeService.test.js::payWithTpe rejects a non-positive amount without calling the agent partial
vitest TpeService.test.js::payWithTpe returns accepted with the real charged amount and tickets on code 10 partial
vitest TpeService.test.js::payWithTpe returns cancelled on code 01 partial
vitest TpeService.test.js::payWithTpe throws TpeError('bad_response') on invalid JSON partial
vitest TpeService.test.js::payWithTpe throws TpeError('unreachable') when the agent is down partial
vitest TpeService.test.js::payWithTpe treats an unknown code as not accepted 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.