Needed some information in the suites description, like link to browserstack session or links to logfiles.
There are two new API endpoints to add description to suites.
addDescriptionToCurrentSuite adds the description to the current running suite
addDescriptionToAllSuites Adds the description to all suites that are running or not finished.
I needed to add information in before all hook without loosing this information if there were more suites in one spec.
So there is now a class property which gets assigned in the onRunnerStart hook and are added to the description for each suite.
For adding text to the description for the current suite there is another class property which gets dumped in the onSuiteEnd hook.
The description gets added to the existing description.
Add description to all suites and current suite
Needed some information in the suites description, like link to browserstack session or links to logfiles.
There are two new API endpoints to add description to suites.
addDescriptionToCurrentSuite
adds the description to the current running suiteaddDescriptionToAllSuites
Adds the description to all suites that are running or not finished.I needed to add information in before all hook without loosing this information if there were more suites in one spec. So there is now a class property which gets assigned in the
onRunnerStart
hook and are added to the description for each suite.For adding text to the description for the current suite there is another class property which gets dumped in the
onSuiteEnd
hook.The description gets added to the existing description.
Fixed: #167