chore: replace stray recording artifacts with a real generator demo#62
Merged
Conversation
Two generator export artifacts (humanjs-recording.ts at the root and in examples/) plus their demo:recorder / recorder scripts were swept into the generator branch by a stray git add -A. They point at a hardcoded, brittle eventurex.com.ar recording — not real demos. Remove them and gitignore the generator's default export filenames so future exports aren't re-committed.
Replaces the removed brittle recorder script with a real, curated demo: records a clean sign-in flow (timeline-only) and runs the public generatePlaywrightTest / generateHumanJS codegen on it, printing the spec and standalone script the generator would export. Self-contained (setContent, headless), role-first selectors, password masking shown. Wired as `pnpm demo:generate`.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
Cleans up two throwaway generator exports that a stray
git add -Aswept into the generator branch, and replaces them with a proper, curated demo.Removed
humanjs-recording.ts(repo root) andexamples/humanjs-recording.ts— auto-generated exports of a specific eventurex.com.ar flow, with brittlexpath=///nth-of-typeselectors. Not real demos.demo:recorder(root) /recorder(examples) scripts that ran them.humanjs-recording.ts,humanjs-recording.spec.ts) so future exports aren't re-committed.Added
examples/generate-demo.ts(pnpm demo:generate) — a clean, self-contained demo of the generator's engine: records a short sign-in flow (timeline-only, headless) and runs the publicgeneratePlaywrightTest/generateHumanJScodegen on it, printing the spec and standalone script the generator exports. Shows role-first selectors, password masking, and personality →humanOptions.No changeset —
examplesis private; only root scripts + gitignore otherwise.