Skip to content

Commit 5ad33dc

Browse files
committed
fix bug
1 parent 7acd104 commit 5ad33dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/container.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ class Container {
110110
}
111111
}
112112

113+
// Wait for all async helpers to finish loading and populate the actor with helper methods
114+
await asyncHelperPromise
115+
113116
if (opts && opts.ai) ai.enable(config.ai) // enable AI Assistant
114117
if (config.gherkin) await loadGherkinStepsAsync(config.gherkin.steps || [])
115118
if (opts && typeof opts.timeouts === 'boolean') store.timeouts = opts.timeouts

0 commit comments

Comments
 (0)