[
  {
    "$schema": "./test-case-schema.json",
    "schemaVersion": "1.0.0",
    "case": {
      "id": "TC-REQUEST-001",
      "revision": 2,
      "title": "Create one fictional service request",
      "objective": "Verify that one valid synthetic request creates exactly one pending-review record.",
      "applicability": "Fictional request workflow on preview version 2.4.0.",
      "status": "executed",
      "priority": "high",
      "testType": "functional",
      "automationStatus": "automated",
      "exampleFictional": true
    },
    "traceability": {
      "requirementIds": ["REQ-REQUEST-001"],
      "acceptanceCriterionIds": ["AC-REQUEST-001"],
      "planId": null,
      "uatScenarioIds": [],
      "rtmRelationshipIds": []
    },
    "setup": {
      "environment": "preview",
      "applicationVersion": "2.4.0",
      "url": "https://requests.example.test/new",
      "fixtureId": "FIXTURE-REQUEST-001",
      "dataClassification": "fabricated",
      "preconditions": [
        "The reviewed fictional request fixture is available.",
        "The preview build reports version 2.4.0."
      ],
      "postconditions": ["Exactly one fictional request is in the pending-review state."],
      "cleanup": ["Remove the fictional request and restore the fixture starting state."]
    },
    "steps": [
      {
        "position": 1,
        "action": "Open the fictional request form",
        "expectedResult": "The empty reviewed fields and submit action are visible"
      },
      {
        "position": 2,
        "action": "Enter the valid synthetic request fixture",
        "expectedResult": "Every field accepts the reviewed value"
      },
      {
        "position": 3,
        "action": "Submit the fictional request",
        "expectedResult": "One record with the expected pending-review state is stored"
      }
    ],
    "expectedOutcome": "One valid synthetic request produces one durable pending-review record and no duplicate write.",
    "execution": {
      "runId": "RUN-20260801-001",
      "executedAt": "2026-08-01T09:15:00Z",
      "testerRole": "automation runner",
      "actualResult": "All three expected observations matched on preview version 2.4.0",
      "result": "passed",
      "evidence": [
        {
          "id": "EVIDENCE-TC-001",
          "kind": "execution-log",
          "capturedAt": "2026-08-01T09:15:02Z",
          "reference": "https://evidence.example.test/test-cases/TC-REQUEST-001/run-20260801-001.txt",
          "sha256": "4d63f12ab27fae7503878c9e86db48a686806898809577ceb118518172ca3f08",
          "redacted": true,
          "note": "Sanitized fictional execution log for the valid request path."
        }
      ],
      "defectIds": []
    },
    "review": {
      "caseOwnerRole": "quality reviewer",
      "reviewerRole": "request workflow reviewer",
      "reviewedAt": "2026-08-01T08:10:00Z",
      "decision": "ready",
      "note": "The objective, fixture, actions, and expected observations were reviewed before execution."
    },
    "boundaries": {
      "authorizesRelease": false,
      "signsOffUat": false,
      "definesTestStrategy": false,
      "actsAsTraceabilityMatrix": false,
      "actsAsBugReport": false,
      "certifiesSecurityOrAccessibility": false,
      "containsPersonalData": false,
      "containsSecrets": false
    }
  },
  {
    "$schema": "./test-case-schema.json",
    "schemaVersion": "1.0.0",
    "case": {
      "id": "TC-REQUEST-002",
      "revision": 3,
      "title": "Reject an invalid fictional due date",
      "objective": "Verify that an invalid date pair stays correctable and does not create a request record.",
      "applicability": "Fictional request workflow on preview version 2.4.0.",
      "status": "executed",
      "priority": "high",
      "testType": "functional",
      "automationStatus": "automated",
      "exampleFictional": true
    },
    "traceability": {
      "requirementIds": ["REQ-REQUEST-002"],
      "acceptanceCriterionIds": ["AC-REQUEST-002"],
      "planId": null,
      "uatScenarioIds": [],
      "rtmRelationshipIds": []
    },
    "setup": {
      "environment": "preview",
      "applicationVersion": "2.4.0",
      "url": "https://requests.example.test/new",
      "fixtureId": "FIXTURE-REQUEST-002",
      "dataClassification": "fabricated",
      "preconditions": [
        "The reviewed fictional invalid-date fixture is available.",
        "No request exists for fixture FIXTURE-REQUEST-002."
      ],
      "postconditions": ["No fictional request record exists for the invalid fixture."],
      "cleanup": ["Reset the fictional form without saving its invalid values."]
    },
    "steps": [
      {
        "position": 1,
        "action": "Open the fictional request form",
        "expectedResult": "The reviewed fields and submit action are visible"
      },
      {
        "position": 2,
        "action": "Enter a due date before the fictional start date",
        "expectedResult": "The date pair is marked invalid with an associated explanation"
      },
      {
        "position": 3,
        "action": "Attempt to submit the invalid fixture",
        "expectedResult": "No request record is stored and the invalid values remain available to correct"
      }
    ],
    "expectedOutcome": "The invalid date pair produces a specific explanation, preserves correctable input, and writes no record.",
    "execution": {
      "runId": "RUN-20260801-002",
      "executedAt": "2026-08-01T09:22:00Z",
      "testerRole": "automation runner",
      "actualResult": "The invalid date was identified and no request record was written",
      "result": "passed",
      "evidence": [
        {
          "id": "EVIDENCE-TC-002",
          "kind": "screenshot",
          "capturedAt": "2026-08-01T09:22:03Z",
          "reference": "https://evidence.example.test/test-cases/TC-REQUEST-002/run-20260801-002.webp",
          "sha256": "352581c28c911295fe216eb6224822352611e5757444b7c40ff4af3dc49dfa9f",
          "redacted": true,
          "note": "Sanitized fictional evidence showing the invalid explanation and retained values."
        }
      ],
      "defectIds": []
    },
    "review": {
      "caseOwnerRole": "quality reviewer",
      "reviewerRole": "request workflow reviewer",
      "reviewedAt": "2026-08-01T08:20:00Z",
      "decision": "ready",
      "note": "The invalid boundary and no-write observation were reviewed before execution."
    },
    "boundaries": {
      "authorizesRelease": false,
      "signsOffUat": false,
      "definesTestStrategy": false,
      "actsAsTraceabilityMatrix": false,
      "actsAsBugReport": false,
      "certifiesSecurityOrAccessibility": false,
      "containsPersonalData": false,
      "containsSecrets": false
    }
  },
  {
    "$schema": "./test-case-schema.json",
    "schemaVersion": "1.0.0",
    "case": {
      "id": "TC-REQUEST-003",
      "revision": 4,
      "title": "Reuse one request identity after timeout",
      "objective": "Verify that retrying one timed-out operation reuses its identity and does not create a duplicate record.",
      "applicability": "Fictional request integration on preview version 2.4.0.",
      "status": "executed",
      "priority": "critical",
      "testType": "integration",
      "automationStatus": "hybrid",
      "exampleFictional": true
    },
    "traceability": {
      "requirementIds": ["REQ-REQUEST-003"],
      "acceptanceCriterionIds": ["AC-REQUEST-003"],
      "planId": null,
      "uatScenarioIds": [],
      "rtmRelationshipIds": []
    },
    "setup": {
      "environment": "preview",
      "applicationVersion": "2.4.0",
      "url": "https://requests.example.test/new",
      "fixtureId": "FIXTURE-REQUEST-003",
      "dataClassification": "synthetic",
      "preconditions": [
        "The reviewed fictional request fixture is available.",
        "The fictional provider is configured to time out after accepting the first operation."
      ],
      "postconditions": [
        "One request record and two auditable attempts exist for the shared identity."
      ],
      "cleanup": ["Remove the fictional request and both recorded attempts."]
    },
    "steps": [
      {
        "position": 1,
        "action": "Submit the synthetic request with request identity REQKEY-EXAMPLE-003",
        "expectedResult": "The first attempt records a provider timeout without a completed response"
      },
      {
        "position": 2,
        "action": "Repeat the same body with the same request identity",
        "expectedResult": "The retry resolves to the original durable operation"
      },
      {
        "position": 3,
        "action": "Inspect stored records and attempt history",
        "expectedResult": "One request exists and both attempts are auditable"
      }
    ],
    "expectedOutcome": "The retry resolves one durable operation, preserves both attempt records, and creates no duplicate request.",
    "execution": {
      "runId": "RUN-20260801-003",
      "executedAt": "2026-08-01T09:31:00Z",
      "testerRole": "quality reviewer",
      "actualResult": "The retry preserved one durable request and recorded both attempts",
      "result": "passed",
      "evidence": [
        {
          "id": "EVIDENCE-TC-003",
          "kind": "execution-log",
          "capturedAt": "2026-08-01T09:31:04Z",
          "reference": "https://evidence.example.test/test-cases/TC-REQUEST-003/run-20260801-003.txt",
          "sha256": "0897f321828a3c1f6e4a19e83aac03b9a06cd438fa2e4ed3f022df2283aa5b16",
          "redacted": true,
          "note": "Sanitized fictional log correlating one durable operation with two attempts."
        }
      ],
      "defectIds": []
    },
    "review": {
      "caseOwnerRole": "quality reviewer",
      "reviewerRole": "request integration reviewer",
      "reviewedAt": "2026-08-01T08:30:00Z",
      "decision": "ready",
      "note": "The timeout setup, identity reuse, and durable-state observations were reviewed before execution."
    },
    "boundaries": {
      "authorizesRelease": false,
      "signsOffUat": false,
      "definesTestStrategy": false,
      "actsAsTraceabilityMatrix": false,
      "actsAsBugReport": false,
      "certifiesSecurityOrAccessibility": false,
      "containsPersonalData": false,
      "containsSecrets": false
    }
  }
]
