Open the [Scenario Details Page] and insert a [JS Step] where you want the assertion.
Sample code
if(not the expected result) { throw new Error("Error message")}
In addition, we have compiled frequently asked questions as snippets. Please refer to it.
If you have any difficulties, please feel free to contact us.