From fa40bcc590901539ea22ecb51e57fa0eb03da267 Mon Sep 17 00:00:00 2001 From: Tawakalt Date: Thu, 28 Nov 2024 15:11:21 +0100 Subject: [PATCH] update e2e test cases --- .../passing/happy_path/user_orders_pizza.yml | 32 +++++++++++++++++++ .../happy_path/user_verifies_account.yml | 27 ++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/e2e_tests_with_assertions/passing/happy_path/user_orders_pizza.yml b/e2e_tests_with_assertions/passing/happy_path/user_orders_pizza.yml index 3a570d0..b14363c 100644 --- a/e2e_tests_with_assertions/passing/happy_path/user_orders_pizza.yml +++ b/e2e_tests_with_assertions/passing/happy_path/user_orders_pizza.yml @@ -48,6 +48,21 @@ test_cases: value: 1234 5678 9012 3456 - bot_uttered: utter_name: utter_execute_payment + - flow_completed: + flow_id: order_pizza + - slot_was_set: + - name: pizza + value: null + - name: num_pizza + value: null + - name: address + value: null + - name: card_details + value: null + - name: payment_option + value: null + - slot_was_not_set: + - name: confirmation_order - test_case: user_orders_pizza_stating_which_type_and_pays_with_points steps: @@ -117,4 +132,21 @@ test_cases: utter_name: utter_execute_payment - flow_completed: flow_id: order_pizza + - slot_was_set: + - name: pizza + value: null + - name: num_pizza + value: null + - name: address + value: null + - name: card_details + value: null + - name: payment_option + value: null + - name: user_name + value: null + - name: user_password + value: null + - slot_was_not_set: + - name: confirmation_order diff --git a/e2e_tests_with_assertions/passing/happy_path/user_verifies_account.yml b/e2e_tests_with_assertions/passing/happy_path/user_verifies_account.yml index 8cc8153..dc3748c 100644 --- a/e2e_tests_with_assertions/passing/happy_path/user_verifies_account.yml +++ b/e2e_tests_with_assertions/passing/happy_path/user_verifies_account.yml @@ -36,6 +36,15 @@ test_cases: value: true - bot_uttered: utter_name: utter_verify_account_success + - slot_was_set: + - name: verify_account_email + value: null + - name: verify_account_confirmation + value: null + - name: verify_account_sufficient_california_income + value: null + - slot_was_not_set: + - name: based_in_california - test_case: Verify account for California resident with insufficient income steps: @@ -66,6 +75,15 @@ test_cases: value: false - bot_uttered: utter_name: utter_ca_income_insufficient + - slot_was_set: + - name: verify_account_email + value: null + - name: verify_account_confirmation + value: null + - name: verify_account_sufficient_california_income + value: null + - slot_was_not_set: + - name: based_in_california - bot_uttered: utter_name: utter_can_do_something_else @@ -108,5 +126,14 @@ test_cases: value: true - bot_uttered: utter_name: utter_verify_account_success + - slot_was_set: + - name: verify_account_email + value: null + - name: verify_account_confirmation + value: null + - name: verify_account_sufficient_california_income + value: null + - slot_was_not_set: + - name: based_in_california - bot_uttered: utter_name: utter_can_do_something_else