Files
alla-tms/docs/regression-test-checklist.md
2026-07-16 09:53:14 +07:00

2.9 KiB

Regression Test Checklist

Authentication / Access

  • Login ด้วย Super Admin ผ่าน
  • Login ด้วย HRD Admin ผ่าน
  • Login ด้วย Employee ผ่าน
  • Protected route บังคับ sign-in เมื่อยังไม่ login
  • Sidebar แสดงเมนูตาม persona ถูกต้อง

Master / Admin Data

  • Organizers list เปิดได้สำหรับ Super Admin
  • Users list/search/filter ทำงาน
  • Create user ทำงาน
  • Edit user ทำงาน
  • Employee directory เปิดได้
  • Course list/search/filter ทำงาน
  • Create/update course ทำงาน
  • Training policy บันทึกได้
  • Training matrix rule บันทึกได้

Training Workflow

  • Employee create training record ได้
  • HRD Admin create training record ให้คนอื่นได้
  • Save draft ทำงาน
  • Submit ทำงาน
  • Pending review แสดงรายการ pending
  • Approve ทำงาน
  • Needs revision ทำงาน
  • Employee เห็นเฉพาะ record ของตัวเอง
  • Approved record ไม่ถูกแก้ไขโดย employee

Upload / Content

  • Upload certificate ที่รองรับได้
  • ดาวน์โหลด certificate ได้
  • Create/update announcement ทำงาน
  • Employee เห็นเฉพาะ published announcement
  • Create/update online lesson ทำงาน
  • Employee เห็นเฉพาะ published online lesson

Reports / Notifications / Import

  • Reports page เปิดได้
  • Export Excel ทำงาน
  • Export PDF ทำงาน
  • Employee report ถูก self-scope
  • Notifications list/filter ทำงาน
  • Mark as read ทำงาน
  • Mark all as read ทำงาน
  • Download import template ทำงาน
  • Import employee .xlsx ทำงาน
  • Download import error summary ทำงานเมื่อมี error
  • Master review approve/reject ทำงาน

Permission / Audit

  • Permission templates list/create/edit ทำงานสำหรับ Super Admin
  • Clone / activate / deactivate / soft delete template ทำงาน
  • User permission assignment ทำงาน
  • Permission audit logs เปิดได้
  • Audit logs เปิดได้สำหรับ Super Admin
  • Non-super-admin เข้า audit/permission management ไม่ได้

Security / Scope

  • Cross-organization access ไม่ผ่าน
  • Employee เข้า users/employee-directory/permission pages ไม่ได้
  • Employee ไม่เห็น announcement/lesson ที่ไม่ publish
  • API ที่ต้อง auth ตอบปฏิเสธเมื่อไม่มี session