Skip to main content

Coverage Matrix

สกัดจาก ccr-test-suite/tests/**/*.spec.ts

AreaTest IDsCoverage
AuthenticationTC-AUTH-001..005login page load, success login, invalid username, empty password, protected route redirect
BookingTC-BOOKING-001..011page load, headers, search existing/non-existing booking no, clear filter, sort indicator/value, row detail/back
CustomerTC-CUST-001..013page load, detail/back, sort ทุก column สำคัญ, double sort
RefundTC-REFUND-001..013page load, detail/back, sort booking/refund/contact/type/date/status/update columns
CarTC-CAR-001..013page load, detail/back, sort car group/name/transmission/fuel/passenger/door/luggage/status/update columns
PromotionTC-PROMO-001..011page load, detail/back, sort CDP/name/start/end/show flags/update columns
Add-onTC-ADDON-001..010page load, detail/back, sort code/type/description/product/status/update columns
FuelTC-FUEL-001..008page load, edit modal open/close, sort car group/fuel price/status/update columns
OWRTC-OWR-001..008page load, detail/back, sort name/pickup/return amount/update columns
BranchTC-BRANCH-001..010page load, detail/back, sort branch code/name/address/email/map/status
UserTC-USER-001..010page load, detail/back, sort full name/email/role/created/status/update columns
RoleTC-ROLE-001..008page load, detail/back, sort role name/description/users/update columns

Gaps ที่ยังควรเพิ่ม

AreaGap
Booking create/edit/paymentยังไม่มี E2E happy path ตั้งแต่ search → create booking → payment
Refund workflow actionมี list/detail/sort แต่ยังไม่ครอบคลุม status transition action
CRUD mutationหลาย module ยังเน้น list/detail/sort มากกว่า create/update/delete validation
Customer Webtest suite ปัจจุบันเน้น Admin Portal ยังไม่มี customer web E2E
API contractยังไม่มี contract tests จาก OpenAPI JSON
Permissionยังไม่มี role-based access matrix test