No USERNAME and PASSWORD anymore
This commit is contained in:
parent
2fd1f42e44
commit
5b2993e1e0
|
@ -19,17 +19,12 @@ var bucket_prefix = 'bucket',
|
||||||
|
|
||||||
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
||||||
|
|
||||||
if (!process.env.USERNAME || !process.env.PASSWORD) {
|
|
||||||
console.log('USERNAME and PASSWORD env vars need to be set');
|
|
||||||
process.exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
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 chrome = require('selenium-webdriver/chrome');
|
||||||
var server, browser = new chrome.Driver();
|
var server, browser = new chrome.Driver();
|
||||||
var username = process.env.USERNAME, password = process.env.PASSWORD;
|
var username = 'admin', password = 'changeme';
|
||||||
|
|
||||||
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