Commit 8bcfb360 authored by Johannes Zellner's avatar Johannes Zellner

Cleanup some test code

parent 879db172
......@@ -39,21 +39,12 @@ describe('Application life cycle test', function () {
var adminUser = 'admin';
var adminPassword = 'changeme';
before(function (done) {
if (!process.env.USERNAME) return done(new Error('USERNAME env var not set'));
if (!process.env.PASSWORD) return done(new Error('PASSWORD env var not set'));
browser = new Builder()
.forBrowser('chrome')
.setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 }))
.build();
done();
before(function () {
browser = new Builder().forBrowser('chrome').setChromeOptions(new Options().windowSize({ width: 1280, height: 1024 })).build();
});
after(function (done) {
after(function () {
browser.quit();
done();
});
function getAppInfo() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment