测试客户端

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

client-test

61560654345575

facebook:61560654345575 / 客户 ebfe3966
marioTest7-ai67postpone_or_exit
marioTest7-ai67postpone_or_exitsmalltalk
同步: 初始
当前上下文
模式: ai_auto子状态: pending_delay下一步: check_delay_or_exit置信度: 95.00%真实销售: marioTest7Chat Session: -
测试控制
Dạ anh
10/07 13:47 / 客户
smalltalk / opening / 76.00%discovery / discovery_capital / discovery_follow_up
Anh link trang nào vậy
10/07 13:47 / 客户
ask_info / proposal_interest / 76.00%discovery / discovery_capital / discovery_follow_up
Link đây nha em, đky xong gửi tên tk lên a nhé
10/07 13:50 / 销售
https://gg8824.com/?id=725721930
10/07 13:50 / 销售
Dạ anh
10/07 14:06 / 客户
smalltalk / opening / 76.00%conversion / conversion_link_sent / conversion_follow_up
Mà em chưa có tiền nạp chơi
10/07 14:06 / 客户
recharge_intent / conversion_ready / 84.00%postpone_or_exit / pending_delay / check_delay_or_exit
E đky xong chưa đó? Còn lại bn để a xem sao
10/07 14:09 / 销售
Ít cũng dc em nha, tool giúp e húp
10/07 14:09 / 销售
Mà em muốn anh xin km cho em 25k
10/07 14:10 / 客户
ask_price_or_amount / proposal_interest / 76.00%repair / repair_answer_latest_message / answer_latest_then_repair_state
Để em chơi xem sao
10/07 14:11 / 客户
unknown / fallback / 45.00%repair / repair_answer_latest_message / answer_latest_then_repair_state
Km tối thiểu 100k nha em, 25k chưa đủ
10/07 14:14 / 销售
E còn lại bn thật đó, nói a xem sao
10/07 14:14 / 销售
Em không có tiền nạp
10/07 14:15 / 客户
recharge_intent / conversion_ready / 81.00%postpone_or_exit / pending_delay / check_delay_or_exit
A xin km cho em được không nào
10/07 14:16 / 客户
unknown / fallback / 45.00%postpone_or_exit / pending_delay / check_delay_or_exit
Ừ e ơi a biết r, thế này e vào tool a tặng code 8k free chơi thử nha
10/07 14:20 / 销售
E vào link nhập code nhé, tool giúp e húp lun đó
10/07 14:20 / 销售
https://toolgg88.vip/
10/07 14:20 / 销售
Dạ anh
10/07 14:21 / 客户
smalltalk / opening / 76.00%postpone_or_exit / pending_delay / check_delay_or_exit
Code 8k đây e: NQVX8K, nhập vào tool là húp lun nha
10/07 14:24 / 销售

生产验收测试台

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 延迟: 37ms队列积压: 0失败: 0死信: 0客户: 9183事件: 184867

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