I made a custom policy and set some slots there. I want to know how to test those slots. So when I run rasa test, it will tell me whether those slots are set correctly. I tried to add slot_was_set in test_stories.yml, but it wasn’t working for me.
I just realized that I only updated the slot’s value in the tracker but never updated the events, and that’s the reason why slot_was_set is not working. Thanks for your help anyway.