提交 06dd4938 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新video自动化测试用例

上级 9a19041d
......@@ -29,15 +29,15 @@ describe('component-native-video', () => {
await page.waitFor(async () => {
return (await page.data('isPause')) == true;
});
await page.callMethod('play');
await page.waitFor(async () => {
return (await page.data('isPlaying')) == true;
});
// await page.callMethod('play');
// await page.waitFor(async () => {
// return (await page.data('isPlaying')) == true;
// });
// stop
await page.callMethod('stop');
await page.waitFor(async () => {
return (await page.data('isPause')) == true;
});
// await page.callMethod('stop');
// await page.waitFor(async () => {
// return (await page.data('isPause')) == true;
// });
});
it('test format', async () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册