Create test case
Create a test case in the project. It is created in draft and a burn-in run starts automatically.
IMPORTANT: gather context first, or the test will be flaky. This tool records the test exactly as you describe it. It does NOT explore the site to confirm the flow exists, so a vague or unverified goal produces low-value, flaky tests. Before calling, make sure you have:
- Verified the functionality, pages, and UI labels actually exist in the target environment. Do not guess or assume.
- A
goaldescribing a single concrete user flow in plain UI terms, using generic data rather than specific entity names. Specific entities change over time and cause flakiness. - An
expectedResultstating a UI-observable outcome a user can see on screen. - Prerequisites in place: a login/auth dependency via
resumeFromDependencyProjectTestCaseIdwhen the flow needs authentication, plus the rightconfigShortIds. - Checked existing tests with
list_test_casesto avoid duplicates.
If you have not gathered this context, prefer create_chat instead. The QA.tech chat agent crawls the site, grounds the test in what actually exists, sets up login and config dependencies, and verifies the test runs. That is how reliable tests get created. Use this tool directly only when you already know the flow exists and have the details above.
Body
Request body for creating a new test case linked to a project
1^app(-.+_.+|_.+)$^cfg(-.+_.+|_.+)$^scenario(-.+_.+|_.+)$Target a specific project by its prefixed short ID (proj-slug_shortId or proj_shortId), as returned by the projects API. Required for organization-scoped API keys; project-scoped keys may only pass their own project's short ID.
^proj(-.+_.+|_.+)$