Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add e2e test from rasa x #34

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/model_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

- name: Run Through Test Stories
run: |
rasa test core --stories test_stories/stories.md --fail-on-prediction-errors
rasa test

- name: Cross-validate NLU model
if: github.event_name == 'pull_request'
Expand Down
65 changes: 65 additions & 0 deletions tests/conversation_tests.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## Story from conversation with 2918155194886151 on April 21st 2020

* SCENARIO: /SCENARIO[holiday](context_sc[christmas](holiday_name)
- slot{"context_scenario":"holiday"}
- slot{"holiday_name":"christmas"}
- action_start
- slot{"link_1_url":"https://rasa.com/carbon/index.html?&rasaxhost=https://carbon.rasa.com&conversationId=2918155194886151&destination=https://offset.earth%2F%3Fr%3D5de3ac5d7e813f00184649ea&label=link-1-clicked"}
- slot{"link_2_url":"https://rasa.com/carbon/index.html?&rasaxhost=https://carbon.rasa.com&conversationId=2918155194886151&destination=https://offset.earth%2F%3Fr%3D5de3ac5d7e813f00184649ea&label=link-2-clicked"}
- action_disclaimer
- utter_holiday-travel_offer_help
* affirm: Yes
- utter_explain_why_offset_travel
- action_explain_typical_emissions
- utter_ask_detailed_estimate
* affirm: Sure
- airtravel_form
- form{"name":"airtravel_form"}
- slot{"requested_slot":"travel_flight_class"}
* affirm: Yes
- airtravel_form
- slot{"travel_flight_class":"economy"}
- slot{"requested_slot":"travel_departure"}
* inform: [Bangalore](city)
- slot{"city":["Bangalore"]}
- airtravel_form
- slot{"travel_departure":"Kempegowda International Airport"}
- slot{"iata_departure":"BLR"}
- slot{"requested_slot":"travel_destination"}
* inform: [San Francisco](city)
- slot{"city":["San Francisco"]}
- airtravel_form
- slot{"travel_destination":"San Francisco International Airport"}
- slot{"iata_destination":"SFO"}
- slot{"travel_departure":null}
- slot{"iata_departure":null}
- slot{"travel_destination":null}
- slot{"iata_destination":null}
- slot{"travel_flight_class":null}
- form{"name":null}
- slot{"requested_slot":null}
* why: Tell me more
- utter_explain_economy_class
- airtravel_form
- form{"name":"airtravel_form"}
- slot{"requested_slot":"travel_flight_class"}
* affirm: Yes
- airtravel_form
- slot{"travel_flight_class":"economy"}
- slot{"requested_slot":"travel_departure"}
* inform: [Blr](iata)
- airtravel_form
- slot{"travel_departure":"Kempegowda International Airport"}
- slot{"iata_departure":"BLR"}
- slot{"requested_slot":"travel_destination"}
* inform: [Sfo](iata)
- airtravel_form
- slot{"travel_destination":"San Francisco International Airport"}
- slot{"iata_destination":"SFO"}
- slot{"travel_departure":null}
- slot{"iata_departure":null}
- slot{"travel_destination":null}
- slot{"iata_destination":null}
- slot{"travel_flight_class":null}
- form{"name":null}
- slot{"requested_slot":null}