Ajouter un produit au panier par scan de code-barres SMP-013
À tester
Automatisable
Tablette
Desktop
Instructions
Objectif : ajouter un produit en scannant son code-barres.
Étapes :
- Scanner le code-barres d'un produit avec une douchette.
Résultat attendu : le produit correspondant est trouvé et ajouté au panier ; un code inconnu affiche un message clair sans ajout.
Liens
Aucun lien.
Tests automatiques liés
| Source | Référence du test | Niveau |
|---|---|---|
| phpunit | CatalogControllerTest::testProductByBarcodeAnswersTheProductOrA404 | partial |
| playwright | 22-barcode-scan.spec.js::a human typing slowly is not taken for a scan | full |
| playwright | 22-barcode-scan.spec.js::a known barcode adds its product, an unknown one is reported without adding | full |
| vitest | usePOSProductEntry.test.jsx::usePOSProductEntry barcode scan, network path adds the product the route answers | partial |
| vitest | usePOSProductEntry.test.jsx::usePOSProductEntry barcode scan, network path reports an unknown code (404) without adding anything | partial |
| vitest | usePOSProductEntry.test.jsx::usePOSProductEntry barcode scan, network path tells a failed lookup apart from an unknown code | 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.