{
  "credentials": [
    { "key": "email", "value": "qa@example.com" },
    { "key": "password", "value": "replace-me" }
  ],
  "labels": ["smoke", "auth", "regression"],
  "fixtures": [
    {
      "key": "newUser",
      "label": "A fresh signup",
      "fields": [
        { "key": "firstName", "mode": "dynamic", "generator": "person.firstName" },
        { "key": "lastName", "mode": "dynamic", "generator": "person.lastName" },
        { "key": "email", "mode": "dynamic", "generator": "internet.email" },
        { "key": "company", "mode": "static", "value": "Acme Inc" }
      ]
    }
  ],
  "plans": [
    {
      "ref": "login",
      "name": "Login",
      "prompt": "Go to https://app.example.com/login and sign in with {{credentials.email}} / {{credentials.password}}. Confirm the dashboard at https://app.example.com/dashboard loads.",
      "testType": "quickTest",
      "agentType": "functional",
      "labels": ["smoke", "auth"]
    },
    {
      "name": "Sign up a new user",
      "prompt": "Go to https://app.example.com/signup and register {{data.newUser.firstName}} {{data.newUser.lastName}} with email {{data.newUser.email}} and a strong password. Confirm the welcome screen appears.",
      "testType": "deepTest",
      "labels": ["regression"]
    },
    {
      "name": "Checkout after login",
      "prompt": "Starting on the dashboard, add the first product to the cart and complete checkout. Confirm an order-confirmation page appears with an order number.",
      "testType": "deepTest",
      "labels": ["regression"],
      "preSteps": [{ "ref": "login" }]
    }
  ]
}
