47 lines
1.6 KiB
YAML
47 lines
1.6 KiB
YAML
# 流程回归:非机动车撞固定物按本组口径机动车数量为0,检查事实保持、时间确认及0003分流。
|
|||
|
|
name: direct_non_motor_vehicle_self_collision
|
||
|
|
clientMode: direct
|
||
|
|
|
||
|
|
steps:
|
||
|
|
- input: "【开始】"
|
||
|
|
expect:
|
||
|
|
stageCode: "1001"
|
||
|
|
- input: "继续办理"
|
||
|
|
expect:
|
||
|
|
stageCode: "1002"
|
||
|
|
- input: "我这个是非机动车,然后自己撞在路边的石墩子上。"
|
||
|
|
expect:
|
||
|
|
stageCode: "1002"
|
||
|
|
form: {"has_non_motor_vehicle_hit":true,"vehicle_count":0}
|
||
|
|
formMatches: {"accident_cause":"^其他:(?=.*非机动车)(?=.*石墩).+"}
|
||
|
|
formAbsent: ["has_injury","accident_time","is_on_scene"]
|
||
|
|
replyMatches: "(有没有|是否).*受伤"
|
||
|
|
- input: "没有人员伤亡。"
|
||
|
|
expect:
|
||
|
|
stageCode: "1002"
|
||
|
|
form: {"has_injury":false,"has_non_motor_vehicle_hit":true,"vehicle_count":0}
|
||
|
|
replyMatches: "(什么时候|几点|事故.*时间)"
|
||
|
|
replyNotMatches: "(有没有|是否).*非机动车"
|
||
|
|
- input: "没有别的车子,就我自己的车子。"
|
||
|
|
expect:
|
||
|
|
stageCode: "1002"
|
||
|
|
form: {"has_non_motor_vehicle_hit":true,"vehicle_count":0}
|
||
|
|
replyMatches: "(什么时候|几点|事故.*时间)"
|
||
|
|
- input: "十分钟前发生的。"
|
||
|
|
expect:
|
||
|
|
stageCode: "1002"
|
||
|
|
form: {"vehicle_count":0}
|
||
|
|
replyMatches: "我记录的时间是.*年.*月.*日.*点.*分.*这个时间对吗"
|
||
|
|
|
||
|
|
- input: 对
|
||
|
|
expect:
|
||
|
|
stageCode: "1002"
|
||
|
|
form: {"vehicle_count":0}
|
||
|
|
replyMatches: "现场"
|
||
|
|
|
||
|
|
|
||
|
|
- input: "我还在事故现场。"
|
||
|
|
expect:
|
||
|
|
stageCode: "0003"
|
||
|
|
form: {"has_non_motor_vehicle_hit":true,"is_on_scene":true,"vehicle_count":0}
|