You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test('Redirect to strategies after login', 1, function(assert) {
visit("/");
andThen(function() {
equal(currentRouteName(), 'strategies.index');
});
});
where the "/" route perform some async request on model and setupController hook.
The test passes but most of the time I get the error in the title raised multiple times.
I tryied something like:
test('Redirect to strategies after login', 1, function(assert) {
stop();
visit("/");
andThen(function() {
equal(currentRouteName(), 'strategies.index');
start();
});
});
but i get the same errors.
Can anyone point me to the right direction?
Thank you
The text was updated successfully, but these errors were encountered:
With a simple test like this one:
where the "/" route perform some async request on model and setupController hook.
The test passes but most of the time I get the error in the title raised multiple times.
I tryied something like:
but i get the same errors.
Can anyone point me to the right direction?
Thank you
The text was updated successfully, but these errors were encountered: