Skip to content

Commit e26dd03

Browse files
committed
changes for appending test names
1 parent d6333f0 commit e26dd03

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/service.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ export default class LambdaRestService {
5656
}
5757
}
5858

59+
beforeStep(step) {
60+
if (!this.suiteTitle || this.suiteTitle == 'unknown scenario') {
61+
this.suiteTitle = step?.step?.scenario?.name || 'unknown scenario';
62+
}
63+
}
64+
5965
afterSuite(suite) {
6066
if (Object.prototype.hasOwnProperty.call(suite, 'error')) {
6167
++this.failures;

0 commit comments

Comments
 (0)