# QA360 Example: API Basic
# Simple API smoke tests for REST/GraphQL endpoints

version: 2
name: api-health-check
description: Basic API health check with smoke tests

gates:
  api-health:
    adapter: playwright-api
    enabled: true
    config:
      baseUrl: "https://httpbin.org"
      smoke:
        - "GET /status/200 -> 200"
        - "GET /json -> 200"
        - "GET /uuid -> 200"
        - "POST /post -> 200"
    options:
      timeout: 30000
      retries: 2

execution:
  default_timeout: 30000
  default_retries: 2
  on_failure: continue
  parallel: false
