{
  "cdp": "http://127.0.0.1:9333",
  "adb_serial": "localhost:42215",
  "adb_bin": "/home/usr1/android-sdk/platform-tools/adb",
  "base_ui": "https://visaready-sit.winds-os.com",
  "out_dir": "/home/usr1/code2/spec-studio/qa/visaready/runs/20260712033119",
  "results_file": "android-results.json",
  "cases": [
    {
      "id": "TC-U01-AND",
      "android": true,
      "title": "Email OTP login lands on the personalised dashboard",
      "srs_ref": "VR-4.2",
      "area": "ui",
      "kind": "ui",
      "priority": "P1",
      "setup": false,
      "steps": [
        {
          "goto": "/"
        },
        {
          "fill": {
            "placeholder": "you@example.com",
            "value": "qa.20260712033119@visaready.test"
          }
        },
        {
          "tap": "Send code"
        },
        {
          "expect_text": "Enter the 4-digit code"
        },
        {
          "fill": {
            "nth": 0,
            "value": "1234"
          }
        },
        {
          "tap": "Verify & sign in"
        },
        {
          "expect_text": "Hi there"
        },
        {
          "screenshot": "home"
        }
      ]
    },
    {
      "id": "TC-U03-AND",
      "android": true,
      "title": "Dashboard shows score card, journeys, recent apps and explore links",
      "srs_ref": "VR-2.2",
      "area": "ui",
      "kind": "ui",
      "priority": "P1",
      "steps": [
        {
          "goto": "/"
        },
        {
          "fill": {
            "placeholder": "you@example.com",
            "value": "qa.20260712033119@visaready.test"
          }
        },
        {
          "tap": "Send code"
        },
        {
          "expect_text": "Enter the 4-digit code"
        },
        {
          "fill": {
            "nth": 0,
            "value": "1234"
          }
        },
        {
          "tap": "Verify & sign in"
        },
        {
          "expect_text": "Hi there"
        },
        {
          "expect_text": "Visa Readiness"
        },
        {
          "expect_text": "Get started"
        },
        {
          "expect_text": "Visa Application (6 Steps + Score)"
        },
        {
          "expect_text": "Start New Application"
        },
        {
          "expect_text": "Explore"
        },
        {
          "screenshot": "dashboard"
        }
      ]
    },
    {
      "id": "TC-U14-AND",
      "core": true,
      "android": true,
      "title": "Complete user story: sign in → 7-step application → document upload → payment → Final Score",
      "srs_ref": "VR-2.2",
      "area": "ui",
      "kind": "ui",
      "priority": "P1",
      "steps": [
        {
          "goto": "/"
        },
        {
          "fill": {
            "placeholder": "you@example.com",
            "value": "qa.20260712033119@visaready.test"
          }
        },
        {
          "tap": "Send code"
        },
        {
          "expect_text": "Enter the 4-digit code"
        },
        {
          "fill": {
            "nth": 0,
            "value": "1234"
          }
        },
        {
          "tap": "Verify & sign in"
        },
        {
          "expect_text": "Hi there"
        },
        {
          "screenshot": "01-home"
        },
        {
          "tap": "Start New Application"
        },
        {
          "expect_text": "Step 1 of 7"
        },
        {
          "fill": {
            "placeholder": "Application Title",
            "value": "Full Flow 20260712033119"
          }
        },
        {
          "fill": {
            "placeholder": "Passport Number",
            "value": "F0331199"
          }
        },
        {
          "fill": {
            "placeholder": "Name (as in passport)",
            "value": "Full Flow Tester"
          }
        },
        {
          "fill": {
            "placeholder": "Place of Issue",
            "value": "Mumbai"
          }
        },
        {
          "fill": {
            "placeholder": "YYYY-MM-DD",
            "nth": 0,
            "value": "2020-01-15"
          }
        },
        {
          "fill": {
            "placeholder": "YYYY-MM-DD",
            "nth": 1,
            "value": "2031-01-14"
          }
        },
        {
          "tap": "Select Nationality"
        },
        {
          "tap": "India"
        },
        {
          "screenshot": "02-step1-passport"
        },
        {
          "tap": "Save & Continue"
        },
        {
          "expect_text": "Step 2 of 7"
        },
        {
          "tap": "Select Destination Country"
        },
        {
          "tap": "France"
        },
        {
          "tap": "Done"
        },
        {
          "tap": "Select Visa Type"
        },
        {
          "tap": "Tourist / Visitor"
        },
        {
          "fill": {
            "placeholder": "YYYY-MM-DD",
            "nth": 0,
            "value": "2026-08-11"
          }
        },
        {
          "fill": {
            "placeholder": "YYYY-MM-DD",
            "nth": 1,
            "value": "2026-08-25"
          }
        },
        {
          "fill": {
            "placeholder": "Trip Duration (days)",
            "value": "14"
          }
        },
        {
          "tap": "Not yet"
        },
        {
          "tap": "Confirmed"
        },
        {
          "tap": "Not yet"
        },
        {
          "tap": "Reserved"
        },
        {
          "screenshot": "03-step2-trip"
        },
        {
          "tap": "Save & Next"
        },
        {
          "expect_text": "Step 3 of 7"
        },
        {
          "fill": {
            "placeholder": "First Name",
            "value": "Full"
          }
        },
        {
          "fill": {
            "placeholder": "YYYY-MM-DD",
            "nth": 0,
            "value": "1990-05-20"
          }
        },
        {
          "tap": "Select Gender"
        },
        {
          "tap": "Male"
        },
        {
          "tap": "Select Marital Status"
        },
        {
          "tap": "Married"
        },
        {
          "fill": {
            "placeholder": "Current City of Residence",
            "value": "Mumbai"
          }
        },
        {
          "fill": {
            "placeholder": "State",
            "value": "Maharashtra"
          }
        },
        {
          "fill": {
            "placeholder": "PIN / Postal Code",
            "value": "400001"
          }
        },
        {
          "fill": {
            "placeholder": "Email",
            "value": "qa.20260712033119@visaready.test"
          }
        },
        {
          "fill": {
            "placeholder": "Mobile",
            "value": "9876543298"
          }
        },
        {
          "tap": "Select Highest Qualification"
        },
        {
          "tap": "Postgraduate"
        },
        {
          "tap": "Select User Type"
        },
        {
          "tap": "Salaried"
        },
        {
          "fill": {
            "placeholder": "Years in Current Role",
            "value": "4"
          }
        },
        {
          "fill": {
            "placeholder": "Total Work Experience (years)",
            "value": "9"
          }
        },
        {
          "screenshot": "04-step3-applicant"
        },
        {
          "tap": "Save & Next"
        },
        {
          "expect_text": "Step 4 of 7"
        },
        {
          "tap": "Select Average Bank Balance"
        },
        {
          "tap": "4× trip fund or above"
        },
        {
          "toggle": 2
        },
        {
          "tap": "Select Yearly Gross Income (last ITR)"
        },
        {
          "tap": "Above ₹30 lakh"
        },
        {
          "screenshot": "05-step4-financial"
        },
        {
          "tap": "Save & Next"
        },
        {
          "expect_text": "Step 5 of 7"
        },
        {
          "toggle": 0
        },
        {
          "toggle": 1
        },
        {
          "toggle": 2
        },
        {
          "screenshot": "06-step5-travel-history"
        },
        {
          "tap": "Save & Next"
        },
        {
          "expect_text": "Step 6 of 7"
        },
        {
          "toggle": 3
        },
        {
          "screenshot": "07-step6-declaration"
        },
        {
          "tap": "Save & Next"
        },
        {
          "expect_text": "Step 7 of 7"
        },
        {
          "tap": "Generate VisaScore"
        },
        {
          "wait": 3500
        },
        {
          "expect_text": "done ✓"
        },
        {
          "screenshot": "08-step7-lite-score"
        },
        {
          "tap": "Continue to Documents"
        },
        {
          "expect_text": "Upload Document"
        },
        {
          "screenshot": "09-documents-list"
        },
        {
          "tap": "Upload Document"
        },
        {
          "expect_text": "Document Type"
        },
        {
          "tap": "Select Application"
        },
        {
          "tap": "Full Flow 20260712033119"
        },
        {
          "tap": "Select Document Type"
        },
        {
          "tap": "Passport"
        },
        {
          "fill": {
            "placeholder": "Document Name",
            "value": "Passport scan 033119"
          }
        },
        {
          "upload_file": {
            "nth": 0,
            "path": "/home/usr1/code2/spec-studio/qa/visaready/assets/sample-doc.png"
          }
        },
        {
          "expect_text": "uploaded:"
        },
        {
          "screenshot": "10-document-uploaded"
        },
        {
          "tap": "Upload"
        },
        {
          "expect_text": "Passport scan 033119"
        },
        {
          "screenshot": "11-documents-after-upload"
        },
        {
          "goto": "/"
        },
        {
          "tap": "Full Flow 20260712033119"
        },
        {
          "expect_text": "Application Progress"
        },
        {
          "tap": "Documents Complete"
        },
        {
          "wait": 900
        },
        {
          "tap": "Payment Received"
        },
        {
          "wait": 900
        },
        {
          "tap": "Generate Final Score"
        },
        {
          "wait": 4500
        },
        {
          "screenshot": "12-application-scored"
        },
        {
          "goto": "/"
        },
        {
          "expect_text": "Verified score"
        },
        {
          "screenshot": "13-final-score-card"
        },
        {
          "tap": "Verified score"
        },
        {
          "expect_text": "Score Improvement"
        },
        {
          "screenshot": "14-score-screen"
        }
      ]
    }
  ]
}