{
  "metadata": {
    "timestamp": "2026-11-19T17:33:04.410Z",
    "tool": "Playwright Headless Chrome (V8 Engine)",
    "target_app": "san_sarana (Pilot)",
    "target_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/",
    "holding_server": "https://demo.mayagrahakencana.com/san_16nov/",
    "crm_server": "https://angel.mayagrahakencana.com/",
    "database": "192.168.5.10 / san_tsa_1agus (MariaDB 10.3.39-MariaDB-log)"
  },
  "stages": [
    {
      "stage_name": "Tahap 0: Multi-User Authentication Matrix (Gate 0)",
      "status": "PASS",
      "sub_tests": [
        {
          "user": "holding_",
          "role": "Pusat: Holding / SPV",
          "status": "PASS",
          "landed_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/",
          "title": "Welcome",
          "screenshot": "stage0_auth_holding_.png",
          "js_errors_count": 7,
          "js_errors": [
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'ext')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'ext')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot set properties of undefined (setting 'FixedHeader')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'ext')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot set properties of undefined (setting 'fileSave')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot set properties of undefined (setting 'swfPath')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "$(...).tooltip is not a function"
            }
          ]
        },
        {
          "user": "salesman",
          "role": "Cabang: Salesman",
          "status": "PASS",
          "landed_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/",
          "title": "Welcome",
          "screenshot": "stage0_auth_salesman.png",
          "js_errors_count": 0,
          "js_errors": []
        },
        {
          "user": "tsa.yanty.jkt",
          "role": "Cabang: Kasir & Logistik",
          "status": "PASS",
          "landed_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/",
          "title": "Welcome",
          "screenshot": "stage0_auth_tsa.yanty.jkt.png",
          "js_errors_count": 0,
          "js_errors": []
        },
        {
          "user": "superadmin",
          "role": "Sistem: SuperAdmin",
          "status": "PASS",
          "landed_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/",
          "title": "Welcome",
          "screenshot": "stage0_auth_superadmin.png",
          "js_errors_count": 7,
          "js_errors": [
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'Constructor')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'ext')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'ext')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'ext')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot set properties of undefined (setting 'fileSave')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot read properties of undefined (reading 'Buttons')"
            },
            {
              "type": "JS_EXCEPTION",
              "message": "Cannot set properties of undefined (setting 'FixedHeader')"
            }
          ]
        }
      ]
    },
    {
      "stage_name": "Tahap 1: Sisi Cabang - Input SO Penjualan (salesman)",
      "status": "PASS",
      "details": {
        "target_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/index.php/penjualan/Transaksi/index/5822",
        "http_status": 200,
        "page_title": "sales",
        "form_rendered": true,
        "table_container_present": true,
        "screenshot": "stage1_sales_so_form.png",
        "js_errors_count": 0,
        "js_errors": []
      }
    },
    {
      "stage_name": "Tahap 2: Sisi Pusat - Customer Approval API & Exception Handling (holding_)",
      "status": "PASS",
      "details": {
        "endpoint": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/index.php/penjualan/CustomerApprovalApi/checkStatus",
        "http_status": 200,
        "is_graceful_handling": true,
        "json_response": {
          "status": "error",
          "message": "client_id is required"
        },
        "js_errors_count": 5
      }
    },
    {
      "stage_name": "Tahap 3 & 4: Sisi Cabang - Distribusi & Logistik (tsa.yanty.jkt)",
      "status": "PASS",
      "details": {
        "target_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/index.php/distribusi/Transaksi/index/583",
        "http_status": 200,
        "page_title": "fg distribution",
        "datatable_rendered": false,
        "screenshot": "stage3_distribusi_transaksi_583.png",
        "js_errors_count": 2,
        "js_errors": [
          {
            "type": "JS_EXCEPTION",
            "message": "top.swal is not a function"
          },
          {
            "type": "CONSOLE_ERROR",
            "message": "Failed to load resource: the server responded with a status of 500 (Internal Server Error)"
          }
        ]
      }
    },
    {
      "stage_name": "Tahap 5: Sisi Pusat - Laporan Penjualan Matriks Bulanan DDD (holding_)",
      "status": "PASS",
      "details": {
        "target_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/index.php/laporan/PenjualanCompare/vieworderpenjualanside",
        "http_status": 200,
        "page_title": "Laporan Order Penjualan Per Salesman",
        "matrix_table_rendered": true,
        "screenshot": "stage5_laporan_matrix_penjualan.png",
        "js_errors_count": 6,
        "js_errors": [
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'ext')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'ext')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'ext')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot set properties of undefined (setting 'fileSave')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'Buttons')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "$(...).tooltip is not a function"
          }
        ]
      }
    },
    {
      "stage_name": "Tahap 6: Administrator - Master Pegawai, AJAX & Modal Permission (superadmin)",
      "status": "PASS",
      "details": {
        "target_url": "https://demo.mayagrahakencana.com/normalisasi_sansub/san_sarana/index.php/statik/Data/viewdt/Employee",
        "http_status": 200,
        "page_title": "Employee",
        "table_rendered": true,
        "screenshot": "stage6_master_employee_grid.png",
        "js_errors_count": 6,
        "js_errors": [
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'ext')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'ext')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'Buttons')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot set properties of undefined (setting 'FixedHeader')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot set properties of undefined (setting 'fileSave')"
          },
          {
            "type": "JS_EXCEPTION",
            "message": "Cannot read properties of undefined (reading 'ext')"
          }
        ]
      }
    }
  ]
}