Skip to content

chore: replace stray recording artifacts with a real generator demo#62

Merged
totigm merged 2 commits into
mainfrom
chore/remove-stray-recordings
Jun 15, 2026
Merged

chore: replace stray recording artifacts with a real generator demo#62
totigm merged 2 commits into
mainfrom
chore/remove-stray-recordings

Conversation

@totigm

@totigm totigm commented Jun 15, 2026

Copy link
Copy Markdown
Owner

Cleans up two throwaway generator exports that a stray git add -A swept into the generator branch, and replaces them with a proper, curated demo.

Removed

  • humanjs-recording.ts (repo root) and examples/humanjs-recording.ts — auto-generated exports of a specific eventurex.com.ar flow, with brittle xpath=// / nth-of-type selectors. Not real demos.
  • The demo:recorder (root) / recorder (examples) scripts that ran them.
  • Gitignored the generator's default export filenames (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 public generatePlaywrightTest / generateHumanJS codegen on it, printing the spec and standalone script the generator exports. Shows role-first selectors, password masking, and personality → humanOptions.

No changeset — examples is private; only root scripts + gitignore otherwise.

totigm added 2 commits June 15, 2026 07:59
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`.
@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
humanjs Ready Ready Preview, Comment Jun 15, 2026 11:06am

@totigm totigm merged commit 0a45734 into main Jun 15, 2026
6 checks passed
@totigm totigm deleted the chore/remove-stray-recordings branch June 15, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant