webdriverio-boneyard / wdio-jasmine-framework

A WebdriverIO v4 plugin. Adapter for Jasmine testing framework.
http://webdriver.io/
MIT License
23 stars 23 forks source link

Does not display each expect result #47

Closed kariasbolster closed 7 years ago

kariasbolster commented 7 years ago

Hi, I have an it that contains multiple expects and when one of them fails, I can't determine which one because in the command line it will only display one error for the whole it block so i need to manually check which of the expects failed. Is there a way to display all the failed in expects?

christian-bromann commented 7 years ago

@kariasbolster if an expect assertion fails it throws an exception, so nothing is executed after this. You need to assert both value in one assertion.

Is there a way to display all the failed in expects?

The stack trace should show you which failed. Also you can have a specific assertion text that explains what fails. Check chai API for that. Also join our Gitter for these kind of questions. This is not necessary an issue.