- add examples/ with a ready-to-import self-test: environment, credential, snippets and a scenario that creates, runs and checks another scenario through the liqa REST API and UI, then cleans up - add test/examples.spec.ts: imports every example and parses its code - link the examples from README, docs/scenario.md and CLAUDE.md Closes #6 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
693 B
693 B
Examples
Ready-to-import liqa resources. Each example is a directory with a YAML file to import (the Import page in the UI, POST /api/v1/import, or the import_yaml MCP tool; see Import) and a README on how to run it.
| Example | What it shows |
|---|---|
| self-test | A scenario that tests the liqa instance it runs on: creates a scenario through the REST API, runs it, checks the run and its page in the UI, and cleans up. Uses an environment, a credential, snippets and assertions |
server/test/examples.spec.ts imports every YAML file in this directory and checks that its code parses, so the examples keep up with the import format.