scenario:
  id: abcf522f5754a26096985d8962f63abc
  context:
    auth:
      type: bearer_token
    base_path: null
    host: null
  description: "Auto-generated scenario for test webconsole API"
  name: test_webconsole_api
steps:
  - case_id: c37f522f5754a26096985d8962f63afe
    operation_id: ClusterService_ListClusters
    case_type: typical_positive
    request_type: http
    request: |-
      {
        "auth": {
          "auth_type": "bearer_token"
        },
        "method": "GET",
        "path": "https://us-west-2.staging.shared.aws.tidbcloud.com/api/v1/orgs/1369847559692509562/projects/1369847559694040704/clusters?page=1&per_page=10",
        "path_params": {},
        "query_params": {},
        "headers": {},
        "body": {}
      }
    expect: |-
      {
        "status_code": 200,
        "cel": "body.total == 0"
      }
    description: Get cluster lists
    max_retries: 0
    delay_after: 0
    step_type: defined
    name: list_clusters
    save: |-
      {
        "placeholder": [
          { "key": "cluster_1", "eval": "body.clusterId" }
        ]
      }
    continue_on_unexpected: false
    stage: execute
    meta: "{}"
    generation_id: 09198df8-3eef-4d82-a5a4-31eb9b0db7de
    order: 1
