-
Notifications
You must be signed in to change notification settings - Fork 0
Test Authoring
How requirements become Playwright tests. Deep: test-authoring.md · Tutorials 02 · 03 · 04.
| Mode | How | LLM? |
|---|---|---|
| Manual | Write .spec.ts under tests/manual/
|
No |
| Spec-driven | Markdown with ## Acceptance Criteria → generate |
Optional (richer TS) |
| Natural language | zyvor-qa create "…" |
Required |
# Example spec
zyvor-qa generate --spec prompts/examples/vm-create.md
cat tests/fixtures/requirements.json # what the parser understood
zyvor-qa run --source local --spec path/to/feature.md# .env
ZYVOR_PRODUCT_REPO=owner/repo
# GITHUB_TOKEN or: gh auth login
zyvor-qa run --source github --spec docs/specs/my-feature.md
zyvor-qa run --source github # qa-labeled issues + docs/specs/ + README/CHANGELOG
zyvor-qa run --source github --pr-number 42 # + PR comment
zyvor-qa discover --source github
zyvor-qa run --source github --expand-coverageWebhook automation: set GITHUB_WEBHOOK_SECRET, zyvor-qa serve, point repo webhook at /webhook/github for push / pull_request / repository_dispatch.
zyvor-qa create "Verify the homepage Schedule Demo button is visible" --execute
# Promote keepers from tests/generated/ → tests/manual/Name the route and visible text in the sentence — they become goto + getByText.
- Specs: user stories + acceptance criteria
- Generated:
tests/generated/(ephemeral OK) - Hand-owned:
tests/manual/ - Artifacts:
reports/,traces/,screenshots/
Related: CLI Commands · Architecture.
Start: Home · Getting Started · Tutorials · Workflows · Admin · Dashboard
Tutorials: Spec→Test · NL · GitHub · Coverage · Visual · Notify · External CI · Agent CI · zyvor.dev · Specs
Build: Architecture · Config · Authoring · Structure · Multi-browser · Rust
Actions: Mission Control · Journeys · API/Auth · Probes · Schedules · Ask Zyvor · Autofix
Ship: API · Webhooks · Security · CI/CD · Deploy · Releases · Enterprise
More: Troubleshoot · FAQ · Glossary · Contributing · Demos · Docs
Guides