Skip to content

Commit

Permalink
ENG-1402: Add route_session_to_calm slot-set assertion to required …
Browse files Browse the repository at this point in the history
…tests, to enable more fine-grained testing (#60)

* ENG-1402: add assertion to check session was routed to calm

* ENG-1402: add calm assertion to add-contact test also
  • Loading branch information
AsadHasan-Rasa authored Oct 29, 2024
1 parent d5a6e24 commit 2eb722d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ test_cases:
assertions:
- bot_uttered:
utter_name: utter_ask_add_contact_handle
- slot_was_set:
- name: route_session_to_calm
value: True
- user: it's @barts
assertions:
- slot_was_set:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@ test_cases:
utter_name: utter_current_balance
- bot_uttered:
utter_name: utter_can_do_something_else
- slot_was_set:
- name: route_session_to_calm
value: True
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ test_cases:
assertions:
- generative_response_is_grounded:
threshold: 0.75
- slot_was_set:
- name: route_session_to_calm
value: True

0 comments on commit 2eb722d

Please sign in to comment.