CodeceptJS - Browserstack - LocalTesting - Multiple Executions

So today, I got a problem when trying to do run-multiple command when BS with enabled LocalTesting. I tried many things and then found a solution, I’m not sure if many of you guys get this issue, anyway just put it here when someone faces the same issue like me.

What I did was simple, use bootstrapAll instead of bootstrap

    bootstrapAll(done) {
        console.log(`connecting with ${_localIdentifier}`);
        bs_local.start(
            {
                key: _key,
                localIdentifier: _localIdentifier,
                forceLocal: true
            }, function () { done(); });
    },

Hope it helps!

2 Likes