提交 9c5d6c40 编写于 作者: M mahaifeng

[audio]修改asset路径

上级 d01a18fb
...@@ -83,7 +83,7 @@ describe('inner-audio', () => { ...@@ -83,7 +83,7 @@ describe('inner-audio', () => {
await page.setData({ await page.setData({
isPlayEnd: false 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); await page.waitFor(3000);
expect(await page.data('isPlayEnd')).toBeTruthy(); expect(await page.data('isPlayEnd')).toBeTruthy();
}); });
......
...@@ -1490,7 +1490,7 @@ describe('ExtApi-FileManagerTest', () => { ...@@ -1490,7 +1490,7 @@ describe('ExtApi-FileManagerTest', () => {
} }
await page.setData({ await page.setData({
basePath: '/static/uni-app-x/version.json', basePath: 'file:///android_asset/uni-app-x',
logAble: false, logAble: false,
readFileRet: "", readFileRet: "",
readFile: '/version.json' readFile: '/version.json'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册