From fd7141b5704c188fa174ce1dff78d001a75f2ad2 Mon Sep 17 00:00:00 2001 From: WOSHIMAHAIFENG Date: Mon, 22 Apr 2024 17:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9file=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../get-file-system-manager/get-file-system-manager.test.js | 5 +++-- .../API/get-file-system-manager/get-file-system-manager.uvue | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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 2c5460c4..1d973bb6 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 903bfc1d..d80c34a8 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) -- GitLab