Skip to content

Article

Ops Lab Playbook: QA Automation Console

10X product documentation.

Article Docs 10xDotIn Example Docs
10X Docs
10X product documentation.
Review intent

Browse 10X documentation.

Make the next growth move easier to approve.

10X product documentation.

Ops Lab Playbook: QA Automation Console

Last updated: 2026-03-08

1. Purpose and when to use this

Use this module to define QA environments/suites, create orchestrated runs, and finalize run outcomes with auditable status transitions.

2. User roles and auth modes

  • JWT operator: create environments/suites/runs and finalize run states.

3. Prerequisites checklist

4. UI onboarding flow

  1. Open https://app.10x.in/creator/qa-automation.
  2. Create a QA environment.
  3. Create a suite bound to that environment.
  4. Start a QA run.
  5. Finalize run with pass/fail summary.

5. API workflow map

  1. QA-01: POST /v2/handles/{handle}/qa/environments
  2. QA-02: POST /v2/handles/{handle}/qa/suites
  3. QA-03: POST /v2/handles/{handle}/qa/runs
  4. QA-04: POST /v2/handles/{handle}/qa/runs/{runId}/finalize

6. cURL examples

Set module variables:

export ENV_ID="<environment-id>"
export SUITE_ID="<suite-id>"
export RUN_ID="<run-id>"

QA-01 Create environment

curl -sS -X POST "${API_BASE}/v2/handles/${HANDLE}/qa/environments" \
  -H "authorization: Bearer ${JWT_TOKEN}" \
  -H 'content-type: application/json' \
  -d '{"name":"staging","lifecycle":"EPHEMERAL"}'

QA-02 Create suite

curl -sS -X POST "${API_BASE}/v2/handles/${HANDLE}/qa/suites" \
  -H "authorization: Bearer ${JWT_TOKEN}" \
  -H 'content-type: application/json' \
  -d '{"name":"smoke-suite","environmentId":"'"${ENV_ID}"'","specVersion":"v1"}'

QA-03 Create run

curl -sS -X POST "${API_BASE}/v2/handles/${HANDLE}/qa/runs" \
  -H "authorization: Bearer ${JWT_TOKEN}" \
  -H 'content-type: application/json' \
  -d '{"environmentId":"'"${ENV_ID}"'","suiteId":"'"${SUITE_ID}"'"}'

QA-04 Finalize run

curl -sS -X POST "${API_BASE}/v2/handles/${HANDLE}/qa/runs/${RUN_ID}/finalize" \
  -H "authorization: Bearer ${JWT_TOKEN}" \
  -H 'content-type: application/json' \
  -d '{"status":"PASSED","summary":"creator suite contract run"}'

7. Expected success outputs and verification checks

  • Environment and suite creation return 201 IDs.
  • Run create returns 201 with queued/orchestrating status.
  • Finalize returns 200 and terminal state confirmation.

8. Failure modes and remediation

  • 403 on QA writes:
  • Remediation: verify operator access for current handle.
  • Run stuck in non-terminal state:
  • Remediation: inspect run artifacts/events endpoints and worker heartbeat health.
  • Finalize fails due to invalid status transition:
  • Remediation: read current run state before submitting terminal update.

9. Async behavior notes

  • Run creation can trigger asynchronous orchestration and background runner dispatch.
  • Finalization is synchronous state mutation.

Review system

What 10X checks

These checks sit after the main explanation so a reviewer can scan the evidence requirements without breaking the article flow.

Evidence checks

Questions to answer

  • Decisiondocs
    What decision should this article help the team make?

Evidence inputs

Data sources that must stay attached

These inputs keep the recommendation grounded before anyone changes the page, campaign, query target, CRM step, or growth priority.

  • 10xDotIn Docs
  • Playbooks Index
  • Playbook: Platform-Wide Feature Exploration Lab
  • Industry Best Practices
  • E-Commerce and Retail
  • Creator Economy
  • SaaS and B2B
  • Affiliate and Partnerships
  • Events and Ticketing
  • Apparel Prospect Demo

FAQ

Questions before using it

FAQ rows sit near the end, where they help unblock the next action without interrupting the diagnostic flow.

When should I use this article?

Use it before approving growth work that needs evidence, ownership, and a clear next action.

10X

Use 10X with the docs open

Keep product context attached while you review growth work.

Open 10X ->