Fix test
This commit is contained in:
parent
e7bd62c4ef
commit
2b96c15d8c
File diff suppressed because it is too large
Load Diff
|
@ -9,8 +9,10 @@ var execSync = require('child_process').execSync,
|
||||||
path = require('path'),
|
path = require('path'),
|
||||||
webdriver = require('selenium-webdriver');
|
webdriver = require('selenium-webdriver');
|
||||||
|
|
||||||
var by = webdriver.By,
|
var by = require('selenium-webdriver').By,
|
||||||
until = webdriver.until;
|
until = require('selenium-webdriver').until,
|
||||||
|
Key = require('selenium-webdriver').Key,
|
||||||
|
Builder = require('selenium-webdriver').Builder;
|
||||||
|
|
||||||
var accessKey = 'admin',
|
var accessKey = 'admin',
|
||||||
secretKey = 'secretkey';
|
secretKey = 'secretkey';
|
||||||
|
@ -23,8 +25,7 @@ process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
||||||
describe('Application life cycle test', function () {
|
describe('Application life cycle test', function () {
|
||||||
this.timeout(0);
|
this.timeout(0);
|
||||||
|
|
||||||
var chrome = require('selenium-webdriver/chrome');
|
var server, browser = new Builder().forBrowser('chrome').build();
|
||||||
var server, browser = new chrome.Driver();
|
|
||||||
|
|
||||||
before(function (done) {
|
before(function (done) {
|
||||||
var seleniumJar= require('selenium-server-standalone-jar');
|
var seleniumJar= require('selenium-server-standalone-jar');
|
||||||
|
|
Loading…
Reference in New Issue