未验证 提交 fec469e3 编写于 作者: O openharmony_ci 提交者: Gitee

!9206 修改媒体弹框权限

Merge pull request !9206 from 董新丽/master
...@@ -68,7 +68,7 @@ export default function RecorderLocalTestAudioFUNC() { ...@@ -68,7 +68,7 @@ export default function RecorderLocalTestAudioFUNC() {
let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4]; let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4];
await mediaTestBase.getPermission(permissionNames); await mediaTestBase.getPermission(permissionNames);
await mediaTestBase.msleepAsync(2000); await mediaTestBase.msleepAsync(2000);
await mediaTestBase.driveFn(2); await mediaTestBase.driveFn(3);
console.info('beforeAll case'); console.info('beforeAll case');
}) })
......
...@@ -70,7 +70,7 @@ export default function avRecorderTest() { ...@@ -70,7 +70,7 @@ export default function avRecorderTest() {
let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4]; let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4];
await mediaTestBase.getPermission(permissionNames); await mediaTestBase.getPermission(permissionNames);
await mediaTestBase.msleepAsync(2000); await mediaTestBase.msleepAsync(2000);
await mediaTestBase.driveFn(2) await mediaTestBase.driveFn(3)
console.info('beforeAll out'); console.info('beforeAll out');
}) })
......
...@@ -67,7 +67,7 @@ describe('AudioRecorderFormatCompatibilityTest', function () { ...@@ -67,7 +67,7 @@ describe('AudioRecorderFormatCompatibilityTest', function () {
let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4]; let permissionNames = [permissionName1, permissionName2, permissionName3, permissionName4];
await mediaTestBase.getPermission(permissionNames); await mediaTestBase.getPermission(permissionNames);
await mediaTestBase.msleepAsync(2000); await mediaTestBase.msleepAsync(2000);
await mediaTestBase.driveFn(2); await mediaTestBase.driveFn(3);
console.info('beforeAll case'); console.info('beforeAll case');
}) })
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册