Add Playwright-backed metadelta task record and metadelta task play with orchestrator#57
Open
NerioVillalobos wants to merge 81 commits intomasterfrom
Open
Add Playwright-backed metadelta task record and metadelta task play with orchestrator#57NerioVillalobos wants to merge 81 commits intomasterfrom
metadelta task record and metadelta task play with orchestrator#57NerioVillalobos wants to merge 81 commits intomasterfrom
Conversation
…0' of https://github.com/NerioVillalobos/plugin-metadelta into codex/add-metadelta-task-record-and-play-commands
…7' of https://github.com/NerioVillalobos/plugin-metadelta into codex/add-metadelta-task-record-and-play-commands
…7' of https://github.com/NerioVillalobos/plugin-metadelta into codex/add-metadelta-task-record-and-play-commands
…7' of https://github.com/NerioVillalobos/plugin-metadelta into codex/add-metadelta-task-record-and-play-commands
…7' of https://github.com/NerioVillalobos/plugin-metadelta into codex/add-metadelta-task-record-and-play-commands
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.
Motivation
sfcomo identificador de ambiente.tests/con nombre basado en el alias desfy fecha/hora para evitar colisiones.--header) y asegurar comportamiento por consola para uso en pipelines automáticos.Description
src/commands/metadelta/task/orchestrator.jsque implementa un orquestador con utilidades para crear la carpetatests/, formatear timestamps para filenames, sanitizar alias, resolver rutas de tests, inyectarMETADELTA_BASE_URLen el test y almacenar/consultar soluciones entests/metadelta-task-orchestrator.json.src/commands/metadelta/task/record.jsque implementa el comandometadelta task record --org <Alias_sf_cli>y que ejecutanpx playwright codegen <url> --target playwright-test --output <tests>/<Alias>-<timestamp>.tsguardando siempre el archivo entests/y llamando ainjectBaseUrlInTestpara hacer el test reutilizable.src/commands/metadelta/task/play.jsque implementa el comandometadelta task play --org <Alias_sf_cli> --tstname <archivo_ts_a_utilizar> [--header]y que ejecutanpx playwright test <archivo>con--headedcuando se pasa--headery con el reporter en modo línea (--reporter line) para salida por consola, además de exportarMETADELTA_BASE_URLal proceso.tests/metadelta-task-orchestrator.jsoncon patrones y sugerencias comunes para ayudar al diagnóstico de errores detectados y permitir su registro posterior.Testing
playwrightconnpm install playwright@^1.50.0 --savey la instalación falló por un error de registro (npm error 403 Forbidden), por lo que no se validó la ejecución de Playwright automáticamente.Codex Task