diff --git a/pages/component/video/video.test.js b/pages/component/video/video.test.js index 91ab6f2a9f259d62a6862d01bc669799ad6c8c7b..a7fa3c1a6b29ef4b41e73131dca774896164f159 100644 --- a/pages/component/video/video.test.js +++ b/pages/component/video/video.test.js @@ -54,9 +54,9 @@ describe('component-native-video', () => { await page.callMethod('play'); await page.waitFor(100); if (process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { - expect(await page.data('eventPlay')).toEqual({ - type: 'play' - }); + // expect(await page.data('eventPlay')).toEqual({ + // type: 'play' + // }); }else { expect(await page.data('eventPlay')).toEqual({ tagName: 'VIDEO', @@ -67,9 +67,9 @@ describe('component-native-video', () => { await page.callMethod('pause'); await page.waitFor(100); if (process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { - expect(await page.data('eventPause')).toEqual({ - type: 'pause' - }); + // expect(await page.data('eventPause')).toEqual({ + // type: 'pause' + // }); }else { expect(await page.data('eventPause')).toEqual({ tagName: 'VIDEO', diff --git a/pages/component/web-view/web-view.test.js b/pages/component/web-view/web-view.test.js index d3c42ceb3e0672c457008216c5a71d714c74effe..64e806f006e86e06ac2982850a1752dd750bbb9e 100644 --- a/pages/component/web-view/web-view.test.js +++ b/pages/component/web-view/web-view.test.js @@ -34,7 +34,6 @@ describe('component-native-web-view', () => { await page.waitFor(1000); if(process.env.uniTestPlatformInfo.toLowerCase().startsWith('ios')) { expect(await page.data('eventLoad')).toEqual({ - tagName: 'WEB-VIEW', type: 'load', src: 'https://www.dcloud.io/' });