Update tests

This commit is contained in:
Paul Kaplan 2017-04-18 11:55:38 -04:00
parent d86fe6a075
commit f161640876
14 changed files with 148 additions and 133 deletions
test/integration

View file

@ -25,13 +25,14 @@ test('event', function (t) {
vm.clear();
vm.setCompatibilityMode(false);
vm.setTurboMode(false);
vm.loadProject(project);
vm.greenFlag();
});
vm.loadProject(project).then(function () {
vm.greenFlag();
// After two seconds, get playground data and stop
setTimeout(function () {
vm.getPlaygroundData();
vm.stopAll();
}, 2000);
// After two seconds, get playground data and stop
setTimeout(function () {
vm.getPlaygroundData();
vm.stopAll();
}, 2000);
});
});
});