diff --git a/pages/API/create-inner-audio-context/create-inner-audio-context.test.js b/pages/API/create-inner-audio-context/create-inner-audio-context.test.js index 36e47f0c540fe70433fbced68609017db591037a..81627b9dc850751cef269de607eae832314f79fc 100644 --- a/pages/API/create-inner-audio-context/create-inner-audio-context.test.js +++ b/pages/API/create-inner-audio-context/create-inner-audio-context.test.js @@ -83,7 +83,7 @@ describe('inner-audio', () => { await page.setData({ isPlayEnd: false }) - await page.callMethod('setSrc','/static/uni-autoTest/alert2s.mp3') + await page.callMethod('setSrc','file:///android_asset/uni-autoTest/alert2s.mp3') await page.waitFor(3000); expect(await page.data('isPlayEnd')).toBeTruthy(); }); 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 b0f23a6aa95075ac71d893193be13109de5c8add..d63c540559b0053fbcaef67f4313a9bc9eec50a1 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 @@ -1490,7 +1490,7 @@ describe('ExtApi-FileManagerTest', () => { } await page.setData({ - basePath: '/static/uni-app-x/version.json', + basePath: 'file:///android_asset/uni-app-x', logAble: false, readFileRet: "", readFile: '/version.json'