瀏覽代碼

remove localStorage.clear

Girish Ramakrishnan 7 年之前
父節點
當前提交
cab169d6da
共有 1 個文件被更改,包括 0 次插入6 次删除
  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 () {