docs: guía E2E y referencias a PHP 8.5 en AGENTS.md (+ helper de smoke test)#54
Merged
Conversation
…S.md - Document the live upload -> AI extraction -> review -> import flow (make up, port, login, provider selection, fixtures) so the merged features can be exercised against a real provider, mirroring the ScheduledMail recipe. - Add Test/e2e-smoke.php: a non-interactive helper that runs the extraction + map + import path over the fixtures and reports invoice/attachment/warnings. - Fix outdated CI matrix references (8.1-8.4 -> 8.1-8.5 after the 8.5 addition). - Exclude the dev-only smoke helper from PHPCS, like the other Test/ scripts. No functional defects were found end-to-end testing today's merged PRs (#27 keyboard nav, #29 image attachments, #46 stock/purchase data, #48 payment method, #41 localized warnings, #31 tax-inclusive receipts); this PR only adds the validation guide, the smoke helper and the doc fixes.
FacturaScripts Playground Preview
Try this PR in your browser This preview is generated automatically for the |
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.
Probé a fondo en local con
make upy Chrome + extracción real de Gemini todos los PRs mezclados hoy (#27, #29, #46, #48, #41, #31, #52). No encontré errores funcionales — todo funciona end-to-end. Lo que sí faltaba/estaba desactualizado es la documentación, que es lo que corrige este PR.Cambios
make up, puerto (8080, o18080por eldocker-compose.override.yml), login, selección de proveedor de IA y uso de las fixtures, igual que la receta de ScheduledMail. Así cualquier agente puede reproducir la verificación contra un proveedor real.Test/e2e-smoke.php: helper no interactivo que recorre las fixtures y ejecuta extracción + mapeo + import, reportando factura/adjunto/avisos. Pensado para correr dentro del contenedor de desarrollo.8.1-8.5(tras añadir 8.5), pero AGENTS.md seguía diciendo8.1-8.4en dos sitios.Test/bootstrap.phpeinstall-plugins.php.Verificación realizada (resumen)
ProductoProveedorcon precio actualizado; avisos (localizados) para líneas sin producto.myft, con extensión correcta en carpeta fechada estándar.codpagoaplicado a la factura.