Explorar el Código

remove localStorage.clear

Girish Ramakrishnan hace 7 años
padre
commit
cab169d6da
Se han modificado 1 ficheros con 0 adiciones y 6 borrados
  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 () {