|
@@ -69,6 +69,12 @@ describe('Application life cycle test SSO', function () {
|
|
|
function signUp(callback) {
|
|
|
browser.manage().deleteAllCookies();
|
|
|
browser.get('https://' + app.fqdn).then(function () {
|
|
|
+ return browser.executeScript('localStorage.clear();');
|
|
|
+ }).then(function () {
|
|
|
+ return browser.executeScript('sessionStorage.clear();');
|
|
|
+ }).then(function () {
|
|
|
+ return browser.get('https://' + app.fqdn);
|
|
|
+ }).then(function () {
|
|
|
return waitForElement(by.xpath('//a[@title="Sign up"]'));
|
|
|
}).then(function () {
|
|
|
return browser.findElement(by.xpath('//a[@title="Sign up"]')).click();
|