Skip to content

feat: replay --save-script for self-updating e2e tests; add it assertions; add DSL with selectors#24

Merged
thymikee merged 2 commits into
mainfrom
feat/replay-update
Feb 9, 2026
Merged

feat: replay --save-script for self-updating e2e tests; add it assertions; add DSL with selectors#24
thymikee merged 2 commits into
mainfrom
feat/replay-update

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented Feb 9, 2026

Summary

Adds deterministic replay-first E2E workflows while keeping refs as the default agent interaction model.

What changed

  • Added selector DSL support for deterministic targeting and fallback chains.
  • Added is command predicates: visible|hidden|exists|editable|selected|text.
  • Added initial approach to deterministic E2E tests with replay updating via replay -u / replay --update:
    • On failure: re-snapshot, resolve updated target, retry, rewrite failing .ad line in place.
    • Targets: click, fill, get, is, wait.
  • Switched replay to .ad-only input (JSON replay payloads rejected).
  • Made session script capture explicit with --save-script (not automatic).
  • Kept refs as the primary workflow for agent exploration; replay/update is the deterministic maintenance path.

Added relevant tests and docs.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 9, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-24/

Built to branch gh-pages at 2026-02-09 09:35 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee changed the title feat: for self-healing e2e tests; assertions feat: replay --save-script for self-updating e2e tests; add it assertions; add DSL with selectors Feb 9, 2026
@thymikee thymikee merged commit 1ecbec9 into main Feb 9, 2026
5 of 6 checks passed
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