diff --git a/tools/tests/cordova-platforms.js b/tools/tests/cordova-platforms.js index 60c146ffa7..7e9d5baf85 100644 --- a/tools/tests/cordova-platforms.js +++ b/tools/tests/cordova-platforms.js @@ -16,6 +16,14 @@ selftest.define("add cordova platforms", function () { run.match("meteor add-platform android"); run.expectExit(1); + run = s.run("add-platform", "android"); + run.matchErr("Platform is not installed"); + run.expectExit(2); + + run = s.run("install-sdk", "android"); + run.extraTime = 90; // Big downloads + run.expectExit(0); + run = s.run("add-platform", "android"); run.match("Do you agree"); run.write("Y\n");