more selenium love

This commit is contained in:
Girish Ramakrishnan 2017-04-04 20:55:07 -07:00
parent 67a89403c0
commit 5ed67875f3

View file

@ -20,14 +20,14 @@ var execSync = require('child_process').execSync,
webdriver = require('selenium-webdriver');
var by = require('selenium-webdriver').By,
until = require('selenium-webdriver').until;
until = require('selenium-webdriver').until,
Builder = require('selenium-webdriver').Builder;
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
describe('Application life cycle test', function () {
this.timeout(0);
var firefox = require('selenium-webdriver/chrome');
var server, browser = new firefox.Driver();
var server, browser = new Builder().forBrowser('chrome').build();
var LOCATION = 'test';
var repodir = '/tmp/testrepo';
var app, reponame = 'testrepo';