{
  "jira_key": "AN-49",
  "passed": true,
  "test_matrix": [
    {
      "name": "Create Opportunity with all required fields",
      "type": "positive",
      "description": "User creates a new Opportunity with Opportunity Name, Account, Stage, Close Date, and Amount populated with valid values.",
      "acceptance_criterion": "Users can create and edit Opportunities."
    },
    {
      "name": "Edit Opportunity and update required fields",
      "type": "positive",
      "description": "User edits an existing Opportunity and updates Opportunity Name, Account, Stage, Close Date, and Amount fields successfully.",
      "acceptance_criterion": "Users can create and edit Opportunities."
    },
    {
      "name": "Create Opportunity missing required field (e.g., Amount)",
      "type": "negative",
      "description": "User attempts to create an Opportunity without populating the Amount field. Save should be prevented and an error should be displayed.",
      "acceptance_criterion": "Opportunity must have the following fields: Opportunity Name, Account, Stage, Close Date, Amount."
    },
    {
      "name": "Edit Opportunity and remove required field (e.g., Account)",
      "type": "negative",
      "description": "User edits an Opportunity and removes the Account field. Save should be prevented and an error should be displayed.",
      "acceptance_criterion": "Opportunity must have the following fields: Opportunity Name, Account, Stage, Close Date, Amount."
    },
    {
      "name": "Move Opportunity to 'Closed Won' with valid Close Date and Amount > 0",
      "type": "positive",
      "description": "User changes the Stage to 'Closed Won' and ensures Close Date is populated and Amount is greater than $0. Save is successful.",
      "acceptance_criterion": "When Stage is changed to 'Closed Won': Close Date must be populated and Amount must be greater than $0."
    },
    {
      "name": "Move Opportunity to 'Closed Won' with missing Close Date",
      "type": "negative",
      "description": "User changes the Stage to 'Closed Won' but leaves Close Date blank. Save is prevented and error message is displayed.",
      "acceptance_criterion": "If either condition is not met, Salesforce should prevent the save and display the error message: 'For a Closed Won Opportunity, Close Date is required and Amount must be greater than $0.'"
    },
    {
      "name": "Move Opportunity to 'Closed Won' with Amount = 0",
      "type": "negative",
      "description": "User changes the Stage to 'Closed Won' and sets Amount to $0. Save is prevented and error message is displayed.",
      "acceptance_criterion": "If either condition is not met, Salesforce should prevent the save and display the error message: 'For a Closed Won Opportunity, Close Date is required and Amount must be greater than $0.'"
    },
    {
      "name": "Move Opportunity to 'Closed Won' with missing Close Date and Amount = 0",
      "type": "negative",
      "description": "User changes the Stage to 'Closed Won', leaves Close Date blank, and sets Amount to $0. Save is prevented and error message is displayed.",
      "acceptance_criterion": "If either condition is not met, Salesforce should prevent the save and display the error message: 'For a Closed Won Opportunity, Close Date is required and Amount must be greater than $0.'"
    },
    {
      "name": "Verify error message text for Closed Won validation",
      "type": "manual",
      "description": "Manually verify that the error message displayed when saving a 'Closed Won' Opportunity with missing Close Date or Amount <= 0 matches exactly: 'For a Closed Won Opportunity, Close Date is required and Amount must be greater than $0.'",
      "acceptance_criterion": "If either condition is not met, Salesforce should prevent the save and display the error message: 'For a Closed Won Opportunity, Close Date is required and Amount must be greater than $0.'"
    },
    {
      "name": "Verify Opportunity fields are present on layout",
      "type": "manual",
      "description": "Manually check that Opportunity Name, Account, Stage, Close Date, and Amount fields are present on the Opportunity page layout.",
      "acceptance_criterion": "Opportunity must have the following fields: Opportunity Name, Account, Stage, Close Date, Amount."
    },
    {
      "name": "Verify user permissions for Opportunity creation and editing",
      "type": "manual",
      "description": "Manually verify that users assigned the Opportunity_Create_Edit_Access permission set can create and edit Opportunities.",
      "acceptance_criterion": "Users can create and edit Opportunities."
    }
  ],
  "apex_tests_run": 0,
  "apex_tests_passed": 0,
  "apex_failures": [],
  "manual_scenarios": [
    "Verify error message text for Closed Won validation",
    "Verify Opportunity fields are present on layout",
    "Verify user permissions for Opportunity creation and editing"
  ],
  "summary": "QA passed \u2014 acceptance criteria covered; no Apex classes in this change",
  "notes": null
}