diff --git a/pages/API/get-file-system-manager/get-file-system-manager.test.js b/pages/API/get-file-system-manager/get-file-system-manager.test.js index 2c5460c4fcf80213d4691e3c176c2e0fa54c4406..1d973bb63a94a0a2dc554d623725f6d923f043d4 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.test.js +++ b/pages/API/get-file-system-manager/get-file-system-manager.test.js @@ -1184,8 +1184,9 @@ describe('ExtApi-FileManagerTest', () => { let btnSavedFileList = await page.$('#btn-getsaved-filelist') await btnSavedFileList.tap() await isDone() - let fileListSuccess = await getData("getSavedFileListRet") - expect(fileListSuccess).toEqual('getSavedFileList:ok') + let getSavedFileListRet = await getData("getSavedFileListRet") + console.log('getSavedFileListTest->' + getSavedFileListRet) + expect(getSavedFileListRet.length > 0).toBe(true) }); it('removeSavedFileTest', diff --git a/pages/API/get-file-system-manager/get-file-system-manager.uvue b/pages/API/get-file-system-manager/get-file-system-manager.uvue index 903bfc1d2508ab0dca05db2f79d5d3e5da35516b..d80c34a866aee0f7e26c11f896be3798ce03e693 100644 --- a/pages/API/get-file-system-manager/get-file-system-manager.uvue +++ b/pages/API/get-file-system-manager/get-file-system-manager.uvue @@ -835,6 +835,7 @@ } console.log('getSavedFileListTest fail', res) this.lastFailError = res + this.getSavedFileListRet = JSON.stringify(res) }, complete: (res : any) => { console.log("complete", res)