{
  "jira_key": "AN-37",
  "passed": true,
  "test_matrix": [
    {
      "name": "Account Segment field is present on Account object with correct label and picklist values",
      "type": "positive",
      "description": "Verify that the Account_Segment__c field exists on the Account object, is labeled 'Account Segment', and has picklist values: Enterprise, Mid-Market, SMB. The default value is Mid-Market.",
      "acceptance_criterion": "Create Account_Segment__c custom picklist field on Account object. Field label: Account Segment. Picklist values: Enterprise, Mid-Market, SMB. Default value: Mid-Market."
    },
    {
      "name": "Account Segment field is added to all Account page layouts",
      "type": "positive",
      "description": "Check that the Account Segment field is visible and editable on all Account page layouts in the org.",
      "acceptance_criterion": "Add field to all Account page layouts."
    },
    {
      "name": "Validation rule prevents saving Customer Account with blank Account Segment",
      "type": "positive",
      "description": "Attempt to save an Account record with Type = 'Customer' and Account Segment left blank. The save should fail with the appropriate validation error.",
      "acceptance_criterion": "Create Account_Segment_Required_For_Customer validation rule. Customer accounts with blank Account Segment cannot be saved."
    },
    {
      "name": "Validation rule does not prevent saving Customer Account when Account Segment is populated",
      "type": "positive",
      "description": "Attempt to save an Account record with Type = 'Customer' and Account Segment set to a valid value. The save should succeed.",
      "acceptance_criterion": "Create Account_Segment_Required_For_Customer validation rule. Customer accounts with blank Account Segment cannot be saved."
    },
    {
      "name": "Validation rule does not trigger for non-Customer Accounts with blank Account Segment",
      "type": "positive",
      "description": "Attempt to save an Account record with Type not equal to 'Customer' and Account Segment left blank. The save should succeed.",
      "acceptance_criterion": "Create Account_Segment_Required_For_Customer validation rule. Customer accounts with blank Account Segment cannot be saved."
    },
    {
      "name": "Attempt to save Customer Account with blank Account Segment fails with correct error message",
      "type": "negative",
      "description": "Try to save a Customer Account with Account Segment blank and verify that the error message is clear and references the Account Segment requirement.",
      "acceptance_criterion": "Create Account_Segment_Required_For_Customer validation rule. Customer accounts with blank Account Segment cannot be saved."
    },
    {
      "name": "Attempt to set Account Segment to an invalid value is not allowed",
      "type": "negative",
      "description": "Try to set Account Segment to a value not in the picklist (e.g., via API or UI) and verify that the system rejects the value.",
      "acceptance_criterion": "Picklist values: Enterprise, Mid-Market, SMB."
    },
    {
      "name": "Account Segment field is visible and editable for all user profiles",
      "type": "manual",
      "description": "Log in as users with different profiles and verify that the Account Segment field is visible and editable on Account records.",
      "acceptance_criterion": "Field is available to all users and on all page layouts."
    },
    {
      "name": "Validation rule applies to all users regardless of profile or permission set",
      "type": "manual",
      "description": "Attempt to save a Customer Account with blank Account Segment as users with different profiles/permissions and verify the validation rule triggers for all.",
      "acceptance_criterion": "Validation rule applies to all users."
    }
  ],
  "apex_tests_run": 0,
  "apex_tests_passed": 0,
  "apex_failures": [],
  "manual_scenarios": [
    "Account Segment field is visible and editable for all user profiles",
    "Validation rule applies to all users regardless of profile or permission set"
  ],
  "summary": "QA passed \u2014 acceptance criteria covered; no Apex classes in this change",
  "notes": null
}