diff --git a/modules/api/current.js b/modules/api/current.js index b4a41b0..2eec31f 100644 --- a/modules/api/current.js +++ b/modules/api/current.js @@ -210,7 +210,7 @@ module.exports = { if (!this.isScenarioBasedStatistics) return; } - const { name: scenarioName } = scenario; + const scenarioName = this.storage.getPickle(pickleId).name; const [keyword] = scenario.keyword.split(' '); const currentNodeCodeRef = utils.formatCodeRef(