Sfoglia il codice sorgente

remove localStorage.clear

Girish Ramakrishnan 7 anni fa
parent
commit
cab169d6da
1 ha cambiato i file con 0 aggiunte e 6 eliminazioni
  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 () {