From b7ae295ab8ec8e406e41fa851faa3132d4cec66b Mon Sep 17 00:00:00 2001 From: Github Actions Date: Mon, 28 Oct 2024 11:59:50 +0000 Subject: [PATCH 1/2] ENG-1402: add assertion to check session was routed to calm --- .../happy_path/user_checks_balance.yml | 3 + .../user_starts_with_a_knowledge_question.yml | 3 + graph.html | 242 ++++++++++++++++++ 3 files changed, 248 insertions(+) create mode 100644 graph.html diff --git a/e2e_tests_with_assertions/passing/happy_path/user_checks_balance.yml b/e2e_tests_with_assertions/passing/happy_path/user_checks_balance.yml index a72d713..40d37ed 100644 --- a/e2e_tests_with_assertions/passing/happy_path/user_checks_balance.yml +++ b/e2e_tests_with_assertions/passing/happy_path/user_checks_balance.yml @@ -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 diff --git a/e2e_tests_with_assertions/passing/knowledge/user_starts_with_a_knowledge_question.yml b/e2e_tests_with_assertions/passing/knowledge/user_starts_with_a_knowledge_question.yml index 8560d81..61c8a98 100644 --- a/e2e_tests_with_assertions/passing/knowledge/user_starts_with_a_knowledge_question.yml +++ b/e2e_tests_with_assertions/passing/knowledge/user_starts_with_a_knowledge_question.yml @@ -5,3 +5,6 @@ test_cases: assertions: - generative_response_is_grounded: threshold: 0.75 + - slot_was_set: + - name: route_session_to_calm + value: True diff --git a/graph.html b/graph.html new file mode 100644 index 0000000..71d7590 --- /dev/null +++ b/graph.html @@ -0,0 +1,242 @@ + + + + + Rasa Core Visualisation + + + + + + +
+ + + + + + + From 297f07f072ea9db86057a5c7a6a128ab122f58d4 Mon Sep 17 00:00:00 2001 From: Github Actions Date: Tue, 29 Oct 2024 08:49:03 +0000 Subject: [PATCH 2/2] ENG-1402: add calm assertion to add-contact test also --- .../user_adds_contact_to_their_list.yml | 3 + graph.html | 242 ------------------ 2 files changed, 3 insertions(+), 242 deletions(-) delete mode 100644 graph.html diff --git a/e2e_tests_with_assertions/passing/happy_path/user_adds_contact_to_their_list.yml b/e2e_tests_with_assertions/passing/happy_path/user_adds_contact_to_their_list.yml index a8b212b..f05509d 100644 --- a/e2e_tests_with_assertions/passing/happy_path/user_adds_contact_to_their_list.yml +++ b/e2e_tests_with_assertions/passing/happy_path/user_adds_contact_to_their_list.yml @@ -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: diff --git a/graph.html b/graph.html deleted file mode 100644 index 71d7590..0000000 --- a/graph.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - Rasa Core Visualisation - - - - - - -
- - - - - - -