{
  "caseCount": 18,
  "cases": [
    {
      "id": "EMP-DIRECTORY-001",
      "title": "Load the employee directory",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Open Employee Management."
      ],
      "expectedResult": "The first synthetic employee page and total status are visible.",
      "priority": "Critical",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-002",
      "title": "Search employees by name",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Search for a seeded employee name and apply filters."
      ],
      "expectedResult": "Only matching employee rows are visible.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-003",
      "title": "Filter employees by department",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Engineering and apply filters."
      ],
      "expectedResult": "Every rendered row has Engineering as its department.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-004",
      "title": "Filter employees by active status",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Active and apply filters."
      ],
      "expectedResult": "Every rendered row has Active status.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-005",
      "title": "Sort employees by name",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Name sort and apply filters."
      ],
      "expectedResult": "The first page is sorted by visible name.",
      "priority": "Medium",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-006",
      "title": "Sort employees by role",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Role sort and apply filters."
      ],
      "expectedResult": "The first page is sorted by visible role.",
      "priority": "Medium",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-007",
      "title": "Navigate to the next page",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Select Next page."
      ],
      "expectedResult": "The page label advances and new directory rows render.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-DIRECTORY-008",
      "title": "Return to the previous page",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Advance a page, then select Previous page."
      ],
      "expectedResult": "The page label returns to page one.",
      "priority": "Medium",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-CRUD-001",
      "title": "Create a synthetic employee",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Fill the employee form with valid synthetic values and save."
      ],
      "expectedResult": "A session-scoped employee appears in the directory.",
      "priority": "Critical",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-CRUD-002",
      "title": "Require an employee name",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Leave Full name empty and submit."
      ],
      "expectedResult": "Native required-field validation prevents submission.",
      "priority": "Medium",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-CRUD-003",
      "title": "Edit an employee role",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Edit, change Role, and save."
      ],
      "expectedResult": "The same row displays the updated role.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-CRUD-004",
      "title": "Edit an employee status",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Edit, clear Active employee, and save."
      ],
      "expectedResult": "The same row displays Inactive.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-CRUD-005",
      "title": "Cancel an employee edit",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Edit, change fields, then select Cancel edit."
      ],
      "expectedResult": "The form resets to Create employee without a mutation.",
      "priority": "Medium",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-CRUD-006",
      "title": "Delete a synthetic employee",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Choose Delete and accept the confirmation dialog."
      ],
      "expectedResult": "The employee is removed from the current session only.",
      "priority": "High",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-REPORT-001",
      "title": "Report current department counts",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Load the directory with default filters."
      ],
      "expectedResult": "Department and status facts match the rendered page.",
      "priority": "Medium",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-RESET-001",
      "title": "Reset employee sandbox",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Create or edit a record, then select Reset employee sandbox."
      ],
      "expectedResult": "Seed data returns and session-only changes are removed.",
      "priority": "Critical",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-API-001",
      "title": "Create an employee through API",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Create a Lab session, retain CSRF, then POST a full employee payload."
      ],
      "expectedResult": "The API returns a deterministic emp identifier.",
      "priority": "Critical",
      "goodAutomationCandidate": "yes"
    },
    {
      "id": "EMP-API-002",
      "title": "Isolate employee sessions",
      "route": "/practice/apps/employees/",
      "preconditions": [
        "Use a fresh Practice Lab session with synthetic seed data."
      ],
      "steps": [
        "Create an employee in one explicit Lab session and query another."
      ],
      "expectedResult": "The second session cannot observe the first session record.",
      "priority": "Critical",
      "goodAutomationCandidate": "yes"
    }
  ]
}
