|
@@ -44,9 +44,8 @@ describe('Application life cycle test', function () {
|
|
var email, token;
|
|
var email, token;
|
|
|
|
|
|
function login(done) {
|
|
function login(done) {
|
|
- browser.manage().window().setSize(1280,768).then(function () {
|
|
|
|
- browser.manage().deleteAllCookies();
|
|
|
|
- }).then(function () {
|
|
|
|
|
|
+ // browser.manage().window().setSize(1280,768).then(function () {
|
|
|
|
+ browser.manage().deleteAllCookies().then(function () {
|
|
return browser.get('https://' + app.fqdn + '/login');
|
|
return browser.get('https://' + app.fqdn + '/login');
|
|
}).then(function () {
|
|
}).then(function () {
|
|
return browser.sleep(10000); // takes some time for username to be visible
|
|
return browser.sleep(10000); // takes some time for username to be visible
|