I don't think this testScope is being used any longer.
If we go down the route of specifying the unit with deterministic assignment, we can specify the unit per test there. And really, most tests are user-based, anyway.
I'm not missing anything here, am I @allmywant? Removing this feature allowed all tests to pass fine. The only use for it seems to be in the function for setting the user ID cookie with this.options.testScope:
_getEndUserId: function()
{
var val = Cookies.get('mojitoEndUserId');
if (!val)
{
val = "mjt" + (new Date).getTime() + "r" + Math.random();
Cookies.set('mojitoEndUserId', val, null, this.options.testScope, this.options.options.cookieDomain)
}
return val;
},
I don't think this testScope is being used any longer.
If we go down the route of specifying the unit with deterministic assignment, we can specify the unit per test there. And really, most tests are user-based, anyway.
I'm not missing anything here, am I @allmywant? Removing this feature allowed all tests to pass fine. The only use for it seems to be in the function for setting the user ID cookie with
this.options.testScope
: