@Chatbot_Ra Is action_reset_slot a custom action that you implemented? When is this used, in other stories or rules?
And to double-check you’re using slot auto-fill to set the data_privacy_declaration slot?
I would suggest adding a slot_was_set step in your stories.yml, after intent: affirm.
I gues the problem is the way the story gets triggered. Please take a closer look at the story:
- story: Accept data privacy and customer concern
steps:
- intent: affirm
entities:
- data_privacy_declaration: "Alright"
- action: utter_customer_concern
It’s triggered with an intent affirm and an entity data_privacy_declaration. The question which triggers this story is defined in domain file as following:
utter_accept_privacy_rules:
- text: Are you fine with data privacy rules?
buttons:
- payload: /affirm{{"data_privacy_declaration":"Alright"}}
title: Yes
- payload: /denny{{"data_privacy_declaration":"Nope"}}
title: No
I specified data_privacy_declaration as slot and entity in the domain file.
I have the feeling that the way I write the test is not correct.