소스 검색

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 () {