# Fix test\_stories.md (Rasa 1.10.x)

**URL:** https://forum.rasa.com/t/fix-test-stories-md-rasa-1-10-x/55742
**Category:** Rasa Open Source
**Created:** [October 12, 2022, 6:52pm UTC](https://forum.rasa.com/t/fix-test-stories-md-rasa-1-10-x/55742 "2022-10-12T18:52:30Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![htcml](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/htcml/32/20333_2.png) [@htcml](https://forum.rasa.com/u/htcml)
#### Post date: [October 12, 2022, 6:52pm UTC](https://forum.rasa.com/t/fix-test-stories-md-rasa-1-10-x/55742/1 "2022-10-12T18:52:30Z")

</div>

This question is pertained to Rasa 1.10.x. In my test\_stories.md, I have an entry like this:

```auto
* Execute_job: Hi team, How to execute a spark job?
  - utter_execute_job_spark

```

After running rasa test -s test\_stories.md, I got this error in failed\_stories.md:

```auto
* Execute_job: Hi team, How to execute a spark job? <!-- predicted: Execute_job: Hi team, How to execute a [spark](platform) job? -->
    - slot{"platform": "spark"}
    - utter_execute_job_spark

```

My question is how to correct the entry in stories.md so that this entry will pass the test. I tried below but still failed.

```auto
* Execute_job{"platform": "spark"}: Hi team, How to execute a spark job?
  - utter_execute_job_spark

```

---

<div class="post-metadata">

### Author: ![edu\_vives](https://avatars.discourse-cdn.com/v4/letter/e/7993a0/32.png) [@edu\_vives](https://forum.rasa.com/u/edu_vives)
#### Post date: [October 13, 2022, 6:35am UTC](https://forum.rasa.com/t/fix-test-stories-md-rasa-1-10-x/55742/2 "2022-10-13T06:35:31Z")

</div>

It has taken me a while to find a possible solution, because I am not used to see or use the 1.x version of Rasa.

I think the problem may be that you must specify the entity that is being extracted from the text in the text itself:

```auto
* Execute_job: Hi team, How to execute a [spark](platform) job?
  - utter_execute_job_spark

```

You can see this structure in the following link [Testing Your Assistant](https://legacy-docs-v1.rasa.com/user-guide/testing-your-assistant/#), in the **Basics section** and in the **Forms Happy Path section** :

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/5/1/51517fe3a62f9686deaff24981f670a8c3c2a4ff.png)

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/7/a/7a82e6ff6a3b438c77b0f5b7e83a0aa540ee8f7b.png)

In this way the stories are correctly written in the _end-to-end_ format, including both the NLU output and the original text.

In the second option you propose, you should only specify the slot that way if it has been added from a custom action:

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/5/5/55943e8ed8649edbad74a74528b95f27192b6a81.png)

I hope the solution helps, if not, I hope someone else can lend you a hand. 😉
