Rechercher un produit par nom SMP-012
À tester
Automatisable
Tablette
Desktop
Instructions
Objectif : trouver rapidement un produit via la barre de recherche.
Étapes :
- Saisir tout ou partie d'un nom de produit dans la barre de recherche.
Résultat attendu : la liste se filtre en direct ; si aucun produit ne correspond, "Aucun produit trouvé" s'affiche.
Liens
Aucun lien.
Tests automatiques liés
| Source | Référence du test | Niveau |
|---|---|---|
| phpunit | CatalogControllerTest::testProductsSearchQueryExecutes | full |
| playwright | 03-catalog-cart.spec.js::searching by name adds the matched product | full |
| playwright | 03-catalog-cart.spec.js::searching by name adds the matched product [SMP-012] | full |
| vitest | index.test.jsx::SearchBar hides the clear button and shows a spinner while searching | partial |
| vitest | index.test.jsx::SearchBar relays typed text through onQueryChange | partial |
| vitest | index.test.jsx::SearchBar shows a clear button that calls onClear when a query is present | partial |
| vitest | useProductSearch.test.jsx::useProductSearch clears the query and results | partial |
| vitest | useProductSearch.test.jsx::useProductSearch falls back to the network when the local catalog is not ready | partial |
| vitest | useProductSearch.test.jsx::useProductSearch searches the local catalog from the 2nd character and exposes matches | partial |
| vitest | useProductSearch.test.jsx::useProductSearch stays inactive and searches nothing below 2 characters | 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.