botium-core 1.13.9 → 1.13.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -261,7 +261,7 @@ module.exports = class ScriptingProvider {
|
|
|
261
261
|
}))
|
|
262
262
|
const globalAsserter = Object.values(this.globalAsserter)
|
|
263
263
|
.filter(a => a[asserterType])
|
|
264
|
-
.map(a => p(this.retryHelperAsserter, () => a[asserterType]({ convo, convoStep, scriptingMemory, args: [], isGlobal: true, ...rest })))
|
|
264
|
+
.map(a => p(this.retryHelperAsserter, () => a[asserterType]({ convo, convoStep, scriptingMemory, container, args: [], isGlobal: true, ...rest })))
|
|
265
265
|
|
|
266
266
|
const allPromises = [...convoAsserter, ...globalAsserter]
|
|
267
267
|
if (this.caps[Capabilities.SCRIPTING_ENABLE_MULTIPLE_ASSERT_ERRORS]) {
|
|
@@ -298,7 +298,7 @@ module.exports = class ScriptingProvider {
|
|
|
298
298
|
|
|
299
299
|
const globalPromises = Object.values(this.globalLogicHook)
|
|
300
300
|
.filter(l => l[hookType])
|
|
301
|
-
.map(l => p(this.retryHelperLogicHook, () => l[hookType]({ convo, convoStep, scriptingMemory, args: [], isGlobal: true, ...rest })))
|
|
301
|
+
.map(l => p(this.retryHelperLogicHook, () => l[hookType]({ convo, convoStep, scriptingMemory, container, args: [], isGlobal: true, ...rest })))
|
|
302
302
|
|
|
303
303
|
const allPromises = [...convoStepPromises, ...globalPromises]
|
|
304
304
|
if (allPromises.length > 0) return Promise.all(allPromises).then(() => true)
|