---
agentTools:
  projectIndex: https://automate.help.sentione.com/llms.txt
---

# v185 JS in Test Cases 🧩

Welcome to another SentiOne Automate biweekly update! This time we've made improvements and fixed bugs. Take a look at the changes introduced `27/01/2022`.

## ⭐️ (Simple) Javascript assertion in Test Cases

Now you can use... `JavaScript` in test cases syntax 🎉: ` assert JAVASCRIPT CODE`

**Example:**\
`assert responses.length === 1`

Find more details in [Test Cases Documentation](https://automate.help.sentione.com/docs/writing-test-cases#additional-assertions).

## 🔣 Integration info in debug mode

In chat tester debug mode you can find additional information about integration invocations. You can also check if integration is called with a certain set of parameters.

<Image title="Screenshot 2022-01-27 at 21.48.09.png" alt={3224} width="80%" src="https://files.readme.io/2f58cdd-Screenshot_2022-01-27_at_21.48.09.png" />

## ⚡️ Information about test suite/case execution time

![2234](https://files.readme.io/bf487ba-Screenshot_2022-01-27_at_21.52.53.png "Screenshot 2022-01-27 at 21.52.53.png")

:pill: **IMPROVEMENTS**

* More info about finished/started NLU training in project changelog
* New line support in test cases  - system replaces new lines with spaces when asserting bot response. When writing a test, the user can just put space in the place of a new line in the bot response.
* New superadmin role. Only user with this role has access to the System tab with license and organization management

:bug: **FIXED BUGS**

* sys.Time value is not displayed in NLU module