测试客户端

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

client-test

100066595261432

facebook:100066595261432 / 客户 e1d28380
marioTest7-ai2conversion
marioTest7-ai2conversionunknown
同步: 初始
当前上下文
模式: ai_auto子状态: conversion_funding_pending下一步: conversion_follow_up置信度: 95.00%真实销售: marioTest7Chat Session: -
测试控制
con đĩ mẹ m
09/30 11:35 / 客户
unknown / fallback / 45.00%opening / opening_passive / opening_follow_up
Em bình tĩnh nói a nghe chuyện gì đã chứ
09/30 11:35 / 销售
Ơ em sao vậy, a có làm gì đâu
09/30 11:35 / 销售
Đm đang chs ff nhắn cc
09/30 11:36 / 客户
unknown / fallback / 45.00%opening / opening_passive / opening_follow_up
Em rảnh thì nt a nha, có cần hỗ trợ tool gì không em
09/30 11:36 / 销售
À ra vậy, a tưởng nhắn nhầm chỗ em
09/30 11:36 / 销售
Ok
09/30 11:36 / 客户
smalltalk / opening / 76.00%conversion / conversion_execution_pending / execution_follow_up
Cút
09/30 11:36 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Em có đang chơi game gì bên a không, thua thắng sao rồi
09/30 11:37 / 销售
Ok em, khi nào cần hỗ trợ tool thì cứ nt a nha
09/30 11:37 / 销售
Lừa đảo hả
09/30 11:37 / 客户
ask_trust / trust_building / 80.00%conversion / conversion_execution_pending / execution_follow_up
Em thấy ở đâu nói lừa đảo, a làm ăn đàng hoàng bên anh có tool tỉ lệ nổ ổn định lắm em
09/30 11:37 / 销售
Đâu em, a chỉ hỏi có cần hỗ trợ tool game không thôi mà
09/30 11:37 / 销售
1
09/30 11:38 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Em đang chơi game gì vậy, thua nhiều không, a coi hỗ trợ cho
09/30 11:38 / 销售
Dẹp mẹ đi, đag chs nói nhiều. Tố cáo h
09/30 11:38 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Ơ thôi em, a có làm gì đâu mà tố cáo, em rảnh nt a nha
09/30 11:39 / 销售
Đell rảnh
09/30 11:39 / 客户
submit_bill_or_proof / conversion_submitted / 84.00%conversion / conversion_execution_pending / execution_follow_up
Ok em, a để đó khi nào cần nt a nha
09/30 11:39 / 销售
Em yêu anh
09/30 11:39 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Haha em này, giỡn hoài, có cần a hỗ trợ tool gì không nói a nghe
09/30 11:40 / 销售
Anh đồng ý nha
09/30 11:40 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Thôi em, a hỏi thiệt nè, em đang chơi game gì đó, có cần a coi hỗ trợ tool không
09/30 11:40 / 销售
Ko đý thì cút
09/30 11:40 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
Ok em, a đi đây, cần thì nt a nha
09/30 11:41 / 销售
1 đồng ý 2 ko đồng ý
09/30 11:41 / 客户
unknown / fallback / 45.00%conversion / conversion_execution_pending / execution_follow_up
2 em, a thôi khi nào cần tool thì nt a nha
09/30 11:41 / 销售
Cút m
09/30 11:41 / 客户
unknown / fallback / 45.00%conversion / conversion_funding_pending / conversion_follow_up
Ok a đi đây em
09/30 11:41 / 销售

生产验收测试台

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

环境身份

app_env: testnode_env: productionsource_commit: 97f212a242208145429a5b608b3e685223c6c215build_time: 2026-09-21T10:30:50Zapi_base_url: https://vsales-client-test.vntask.proclient_base_url: https://vsales-client-test.vntask.prosales_base_url: https://vsales-client-test.vntask.proadmin_base_url: https://vsales-client-test.vntask.prois_production: falseclient_testbench_enabled: trueclient_control_enabled: truedestructive_control_enabled: falseredis_configured: truesecrets_masked: true

健康状态

DB okWorker okRedis configured
DB 延迟: 6ms队列积压: 0失败: 0死信: 0客户: 7068事件: 124153

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