测试客户端

创建测试客户,选择客户身份,进入与销售的聊天测试。

client-test

100018675633743

facebook:100018675633743 / 客户 d1bda4a8
marioTest7-ai23conversion
marioTest7-ai23conversionunknown
同步: 初始
当前上下文
模式: ai_auto子状态: conversion_verification_pending下一步: manual_review置信度: 95.00%真实销售: marioTest7Chat Session: -
测试控制
E muốn cài tool
10/02 12:30 / 客户
ask_info / proposal_interest / 68.00%conversion / conversion_verification_pending / human_review
Chào em, em biết chị qua đâu?
10/02 12:30 / 销售
Em có tài khoản bên GG88 chưa em? Chị kiểm tra rồi hướng dẫn cài tool cho em nhé
10/02 12:30 / 销售
Thấy trên Facebook nè
10/02 12:31 / 客户
ask_process / process_guidance / 84.00%conversion / conversion_verification_pending / human_review
Dạ em có tài khoản bên GG88 chưa em? Chưa có thì chị đăng kí cho, chứ có rồi thì gửi tên tk chị check cho em
10/02 12:32 / 销售
Cũng không có nhớ nữa
10/02 12:33 / 客户
unknown / fallback / 45.00%conversion / conversion_link_sent / conversion_follow_up
Vậy chắc em chưa có tk rồi á, để chị gửi link đăng kí mới cho em nhé, đăng kí xong gửi tên tk chị kích hoạt tool cho
10/02 12:33 / 销售
https://gg8835.com/?id=202112373
10/02 12:33 / 销售
Lâu rồi không có nhớ
10/02 12:34 / 客户
unknown / fallback / 45.00%conversion / conversion_link_sent / conversion_follow_up
Dạ không nhớ thì em đăng kí tk mới qua link chị gửi ở trên nha, đăng kí xong gửi tên tk cho chị kích hoạt tool luôn em
10/02 12:34 / 销售
Rồi nè
10/02 12:42 / 客户
unknown / fallback / 45.00%conversion / conversion_link_sent / conversion_follow_up
Tk vanco14
10/02 12:42 / 客户
unknown / fallback / 45.00%conversion / conversion_link_sent / conversion_follow_up
Em muốn chị đăng kí giúp tk tool luôn k, chị kích hoạt cho em chơi?
10/02 12:43 / 销售
Tk game em verified r nha, giờ bên tool chưa có tk vanco14 á em
10/02 12:43 / 销售
OK
10/02 12:44 / 客户
smalltalk / opening / 76.00%conversion / conversion_link_sent / conversion_follow_up
Tk tool: vanco14, mk: 9i8lo34e
10/02 12:44 / 销售
Đk xong r nha em
10/02 12:44 / 销售
Em nạp đc chưa, nạp vô chị cấp xu cho em sử dụng luôn
10/02 12:44 / 销售
OK
10/02 13:04 / 客户
smalltalk / opening / 76.00%conversion / conversion_execution_pending / execution_follow_up
Em nạp xong gửi bill chị xem nạp bao nhiêu để chị check rồi cấp xu cho em nhé
10/02 13:05 / 销售
[image]
10/02 13:09 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Hiện tại bên mình đang hỗ trợ nhiều khách, bạn chờ mình một chút nha.
10/02 13:10 / 销售
Được chưa nè
10/02 13:10 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
OK
10/02 13:10 / 客户
smalltalk / opening / 76.00%conversion / conversion_verification_pending / human_review
Em ơi bill lúc nãy chị check không ra giờ phút á, em chụp lại cái bill rõ ngày giờ nạp gửi lại chị kiểm tra nhé
10/02 13:11 / 销售
[image]
10/02 13:14 / 客户
unknown / fallback / 45.00%conversion / conversion_verification_pending / human_review

生产验收测试台

API 契约、权限矩阵、健康状态、测试数据、Mock、报告和发布 Checklist。

环境身份

app_env: testnode_env: productionsource_commit: 69676ff4729ec316cdc14fab57e4bab9b989c96bbuild_time: 2026-10-02T00:14:25Zapi_base_url: https://vsales-admin-test.vntask.proclient_base_url: https://vsales-admin-test.vntask.prosales_base_url: https://vsales-admin-test.vntask.proadmin_base_url: https://vsales-admin-test.vntask.prois_production: falseclient_testbench_enabled: trueclient_control_enabled: truedestructive_control_enabled: falseredis_configured: truesecrets_masked: true

健康状态

DB okWorker okRedis configured
DB 延迟: 43ms队列积压: 0失败: 0死信: 0客户: 7554事件: 141018

API Explorer

healthclientsalesadminadapterinternaltestbench
readnone

Lightweight service health and release identity.

{ ok, data: { service, app_env, source_commit, build_time, database } }
curl -sS -X GET "/api/v1/health"

测试数据与 Mock

等待执行

权限矩阵

anonymous允许: /api/v1/health禁止: /client / /sales / /admin / all writesnone
client-testbench允许: /client / /api/v1/client/* / /api/v1/client/testbench/*禁止: admin writes / sales actor overrideCLIENT_BASIC_AUTH_PASSWORD when configured
sales允许: /sales / /api/v1/sales/*禁止: other sales customer data / admin surfacesSALES_BASIC_AUTH_PASSWORD and resolved sales actor
admin允许: /admin / /api/v1/admin/*禁止: none when super_adminADMIN_BASIC_AUTH_PASSWORD
readonly-admin允许: admin read APIs禁止: system diagnostics write / config writes / dangerous mutationsADMIN_AUTH_USERS readonly role
adapter-client允许: /api/v1/adapters/{channel}/messages / delivery ack禁止: admin/sales/client UIadapter client id/secret/signature
internal-worker允许: /api/v1/internal/*禁止: browser UIinternal API token or network policy

报告中心

Lintnpm run lint
Typechecknpm run typecheck
Buildnpm run build.next/
Client/API contractnpm run test:contract
Admin contractnpm run test:contract:admin
Sales contractnpm run test:contract:sales
Adapter contractnpm run test:contract:adapter-facebook
Security boundariesnpm run test:security
Client e2enpm run test:e2e
Sales e2enpm run test:e2e:sales
Admin e2enpm run test:e2e:admin-filter-state
Client screenshotsnpm run test:screenshotsartifacts/client-screenshots
Sales screenshotsnpm run test:screenshots:salesartifacts/sales-screenshots
Admin screenshotsnpm run test:screenshots:adminartifacts/admin-screenshots
Health checkcurl -fsS $BASE_URL/api/v1/health

发布 Checklist

manualAPI contract scripts passnpm run test:contract && npm run test:contract:admin && npm run test:contract:sales
manualFrontend e2e scripts passnpm run test:e2e && npm run test:e2e:sales && npm run test:e2e:admin-filter-state
manualScreenshot regression passnpm run test:screenshots && npm run test:screenshots:sales && npm run test:screenshots:admin
passDatabase reachable
passWorker queues healthy
passRelease identity is present
passProduction destructive controls disabled by default
passProtected surfaces require auth in production
manualNo pending migration before releasenpm run db:migrate
manualBackup and restore drill verifiednpm run ops:prod:backup && npm run ops:prod:restore-drill
manualRollback runbook exists and is rehearsed
manualTest fixtures cleaned before prod releasenpm run data-governance:cleanup-test-data
manualProduction monitoring and alerts verifiednpm run ops:prod:alert

页面回归入口

Client testbench/clienttest:screenshots / test:contract / test:e2e
Sales workbench/salestest:screenshots:sales / test:e2e:sales / test:contract:sales
Sales customer detail/sales/customers/:customerIdtest:e2e:sales / test:contract:sales
Admin dashboard/admintest:screenshots:admin / test:e2e:admin-filter-state / test:contract:admin
Admin customers/admin?tab=customerstest:e2e:admin-filter-state
Admin configs/admin?tab=configstest:contract:admin