Browse Source

remove localStorage.clear

Girish Ramakrishnan 7 years ago
parent
commit
cab169d6da
1 changed files with 0 additions and 6 deletions
  1. 0 6
      test/test.js

+ 0 - 6
test/test.js

@@ -48,12 +48,6 @@ describe('Application life cycle test', function () {
             browser.manage().deleteAllCookies();
         }).then(function () {
             return browser.get('https://' + app.fqdn + '/login');
-        }).then(function () {
-            return browser.sleep(5000);
-        }).then(function () {
-            return browser.executeScript('localStorage.clear();');
-        }).then(function () {
-            return browser.get('https://' + app.fqdn + '/login');
         }).then(function () {
             return browser.sleep(10000); // takes some time for username to be visible
         }).then(function () {