Repository navigation
feat(flashlight): compte client de démo pour prestaflow/php-library 1.9.0 - #11
Merged
Merged
Conversation
Library 1.9.0 no longer falls back on [email protected] when PRESTAFLOW_FO_EMAIL is unset, so customer steps were skipped on Flashlight. The generated .env.local now also sets the fixtures' demo customer, at the same (lowest) priority as the back-office credentials. README: 1.9.0 notes. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Depuis la v1.9.0, la librairie ne se connecte plus aux comptes démo quand
PRESTAFLOW_FO_EMAIL/PRESTAFLOW_BO_EMAILsont vides : elle saute les étapes qui ont besoin d'un compte. Avec Flashlight, l'action fournissait déjà le compte BO, mais pas de compte client. Toutes les étapes de connexion client étaient donc sautées.Changements
.env.localgénéré pour Flashlight contient aussi le client de démo des fixtures PrestaShop,[email protected]/PRESTAFLOW_FO_PASSWD=123456789. Il a la même priorité, la plus basse, que les identifiants BO : le fichier du projet et leenv:de l'étape l'emportent toujours.env:.dist/reconstruit.Vérifié
npm run lintOK ;npm test: 109 tests OK, dont un nouveau sur la priorité du compte client.verify/library-1.9.0) : librairie v1.9.0 depuis Packagist, Flashlight 9.0.0, action sur cette branche. Le nouveau testCustomerLoginSmokevérifie que le compte reçu est[email protected]et qu'il se connecte bien : il est au vert. Restent deux échecs attendus, déjà présents sur main : l'échec volontaire deBrowserSmoke, etFO_URLabsent dans le job sans Flashlight.Non vérifié sur Flashlight 1.7.8 et 8.x : le client de démo vient des mêmes fixtures PrestaShop.
🤖 Generated with Claude Code