Sync and Scripts
This page is advanced on purpose. Beginners should start with Settings -> Sync unless the UI is unavailable.
Use this page when
Section titled “Use this page when”- You need script-based maintenance.
- You are automating project reconciliation outside the UI.
- You need to understand the full dependency-aware sync order.
UI-first sync flow
Section titled “UI-first sync flow”Open Settings -> Sync to review pending differences and run synchronization directly from the app.
- Use per-target tiles to sync one area at a time.
- Use
Sync Allto run the full reconciliation flow. - Review numeric badges to see how many differences Appraise detected for each target.
- Let Appraise run prerequisites automatically when one sync depends on another.
- Confirm completion from refreshed counts and success or failure messages.
Dependency-aware sync order
Section titled “Dependency-aware sync order”Whether you trigger sync from the UI or by running npm run sync-all, Appraise follows a dependency-aware order:
ModulesEnvironmentsTagsTemplate Step GroupsTemplate StepsLocator GroupsLocatorsTest SuitesTest Cases
When scripts are still useful
Section titled “When scripts are still useful”The CLI scripts still matter for repository maintenance and automation:
- Initial bootstrap with
npm run setup - CI or scripted local maintenance
- Focused repair or debugging of one sync area
- Feature regeneration preview with
npm run sync-features:dry-run - Pulling published reusable template steps into an existing scaffold with
npx appraisejs@latest add step ...
Core scripts
Section titled “Core scripts”npm run setup: full initial bootstrap.npm run sync-all: synchronizes entities and generated artifacts without using the UI.npm run sync-features: regenerate feature files.npm run sync-features:dry-run: preview feature regeneration.npm run sync-locator-groups: reconcile locator group definitions and generated artifacts.npm run sync-locators: reconcile locator definitions and locator maps.npm run sync-template-steps: resync template step definitions.
Related CLI workflow
Section titled “Related CLI workflow”Installing published steps is separate from the local npm run ... scripts:
npx appraisejs@latest add step <group-slug>/<step-slug>Use that command when you want to merge a published step fragment into
automation/steps and then run the template-step sync flow automatically.
- Full guide: Install Template Steps with CLI