# Rasa 2.0: responses in tests

**URL:** <https://forum.rasa.com/t/rasa-2-0-responses-in-tests/35823>\
**Category:** Rasa Open Source\
**Tags:** testing\
**Created:** [October 13, 2020, 12:09pm UTC](https://forum.rasa.com/t/rasa-2-0-responses-in-tests/35823 "2020-10-13T12:09:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![petasis](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@petasis](https://forum.rasa.com/u/petasis)\
**Post date:** [October 13, 2020, 12:09pm UTC](https://forum.rasa.com/t/rasa-2-0-responses-in-tests/35823/1 "2020-10-13T12:09:21Z")

</div>

Hi all,

I want to include also responses in tests, so I have written tests like:

> ```
> - story: chitchat_el/activities0el01
> steps:
> - user: |
> <some user text>
> intent: chitchat_el/activities0el01
> - action: utter_chitchat_el/activities0el01
> 
> ```

However, I get an error that intent chitchat\_el/activities0el01 is not in the domain (and indeed it is not). Shouldn’t `rasa train` detect that this is a response, and the intent is `chitchat_el`? And the rest is the `sub-intent`?

---

_[View the full topic](https://forum.rasa.com/t/rasa-2-0-responses-in-tests/35823)._
