]> git.immae.eu Git - perso/Immae/Projets/Nodejs/Surfer.git/blobdiff - test/test.js
use chrome instead of ff for tests
[perso/Immae/Projets/Nodejs/Surfer.git] / test / test.js
index 8b1bcdc91eb9966c388b0163806ee3b60ad709ca..23338da170604cd1237707ead59827a55b0771c3 100644 (file)
@@ -23,8 +23,8 @@ if (!process.env.USERNAME || !process.env.PASSWORD) {
 describe('Application life cycle test', function () {
     this.timeout(0);
 
-    var firefox = require('selenium-webdriver/firefox');
-    var server, browser = new firefox.Driver();
+    var chrome = require('selenium-webdriver/chrome');
+    var server, browser = new chrome.Driver();
 
     before(function (done) {
         var seleniumJar= require('selenium-server-standalone-jar');
@@ -119,7 +119,7 @@ describe('Application life cycle test', function () {
         done();
     }
 
-    it('build app', function () {
+    xit('build app', function () {
         execSync('cloudron build', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
     });
 
@@ -151,7 +151,7 @@ describe('Application life cycle test', function () {
     it('can logout', logout);
 
     it('backup app', function () {
-        execSync('cloudron backup --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
+        execSync('cloudron backup create --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
     });
 
     it('restore app', function () {