ses-monitor/config/scenarios/mfc_dialog.yaml
Maksim Totmin bec273d7ac refactor: remove global robot_id, require it per-scenario
- config.py: remove robot_id field from SESConfig (no global default)
- session_client.py: robot_id is now REQUIRED in ask(), no fallback
- mfc_dialog.yaml: add explicit robot_id
- example_*.yaml: add commented robot_id placeholder, fix outdated comments
- config.yaml.example: remove robot_id from ses section
- README: full audit — remove archive references, fix deployment docs,
    fix scenario format docs, remove outdated sections
2026-06-19 20:53:41 +07:00

25 lines
1012 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# Сценарий: диалог с роботом МФЦ (production)
# =============================================================================
# Проверяет что робот отвечает на приветствие и возвращает меню действий.
# Выполняется каждые 60 секунд, создаёт сессию в SES.
# Результат агрегируется в ses.scenario.ok/total/failed/avg_time/max_time/error.
name: "mfc_dialog"
description: >
Проверка диалога с МФЦ: отправка приветствия,
ожидание меню действий (error=0, answer не пуст).
enabled: true
interval: 60
timeout: 15
robot_id: "8ae503dc-ee33-4a6c-a6cf-3dcad3900986_prod"
steps:
- send: "Здравствуйте"
expect:
- path: "error"
equals: 0
- path: "answer[0].messages[0]"
not_empty: true