Skip to content

Commit

Permalink
Adjust tests for CALM-only evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
maksim-m committed Oct 1, 2024
1 parent b5a281e commit 989292f
Show file tree
Hide file tree
Showing 50 changed files with 10 additions and 766 deletions.
20 changes: 0 additions & 20 deletions e2e_tests/passing/corrections/user_corrects_a_number_slot.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
# instead of clarify a start flow command for "list_contact" is predicted

fixtures:
- route_to_calm:
- route_session_to_calm: True

test_cases:
- test_case: user sends short noun only message
fixtures:
- route_to_calm
steps:
- user: contact
assertions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
fixtures:
- non_california_resident:
- based_in_california: False
- route_session_to_calm: True

test_cases:
- test_case: Register to vote for non-California resident (should not trigger)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
fixtures:
- route_to_calm:
- route_session_to_calm: True

test_cases:
- test_case: user says they don't want one option
fixtures:
- route_to_calm
steps:
- user: cash
assertions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
fixtures:
- route_to_calm:
- route_session_to_calm: True

test_cases:
- test_case: user says they don't want one option among three
fixtures:
- route_to_calm
steps:
- user: contact
assertions:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
fixtures:
- route_to_calm:
- route_session_to_calm: True

test_cases:
- test_case: user says they don't want two options
fixtures:
- route_to_calm
steps:
- user: contact
assertions:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test_cases:
- user: send money to John
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- name: transfer_money_recipient
value: John
- bot_uttered:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to send money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: ah, one moment stop that. I want to see my transfers first
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I would like to add a new contact
assertions:
- slot_was_set:
- name: route_session_to_calm
value: true
- bot_uttered:
utter_name: utter_ask_add_contact_handle
- user: "@max"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test_cases:
- user: I want to send money to Joe
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- name: transfer_money_recipient
value: Joe
- bot_uttered:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test_cases:
- user: Send some money to Joe
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- name: transfer_money_recipient
value: Joe
- bot_uttered:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to send money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: stop
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to send 10 bucks to Spencer
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_final_confirmation
- user: "Yes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ test_cases:
- user: send John 50
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- name: transfer_money_amount_of_money
value: "50"
- name: transfer_money_recipient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ test_cases:
steps:
- user: I want to verify my account
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_verify_account_email
- user: "It's [email protected]"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ test_cases:
steps:
- user: I want to verify my account
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_verify_account_email
- user: It's [email protected]
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to transfer money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: John
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to transfer money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: John
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to transfer money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: John
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to transfer money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: John
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ test_cases:
steps:
- user: I want to transfer money
assertions:
- slot_was_set:
- name: route_session_to_calm
value: True
- bot_uttered:
utter_name: utter_ask_transfer_money_recipient
- user: John
Expand Down
Loading

0 comments on commit 989292f

Please sign in to comment.