adamgruber / mochawesome

A Gorgeous HTML/CSS Reporter for Mocha.js
https://gitter.im/mochawesome/general
MIT License
1.06k stars 160 forks source link

In Mochawesome Reporter, How to get the failure error after the line where it fails.Currently the message is getting on the top of test #226

Closed vinaykumarvvs closed 6 years ago

vinaykumarvvs commented 6 years ago

Can anyone help me out how to get the failure message after the line where it fails.

adamgruber commented 6 years ago

Unfortunately the positioning of the error message is not configurable.

vijaysimh commented 5 years ago

Am using DirectLine3 via Azureportal to connect Botium. And for assertion am using mochawesome report which prints as below:

Bot 1st and then #me second-Please require solution for this error.

Additional Test Context Conversation Log:

bot: Hello, how may i help you

bot: Purchase Order

me: Hi

bot: Hello, how may I help you?

me: Thanks

bot: I didn't understand what you just said to me.

const BotDriver = require('botium-core').BotDriver const Capabilities = require('botium-core').Capabilities const Source = require('botium-core').Source var assert = require('assert'); require('dotenv').config() const driver = new BotDriver()

index.js : driver.BuildFluent() .Start() .UserSaysText('Hi') .WaitBotSaysText(console.log) .Stop() .Clean() .Exec() .then(() => { console.log('PASSED') }) .catch((err) => { console.log('ERROR: ', err) })