提交 61bf6617 编写于 作者: DCloud-yinjiacheng's avatar DCloud-yinjiacheng

更新rich-text自动化测试用例

上级 a8cd2875
......@@ -50,6 +50,18 @@ describe('rich-text-test', () => {
});
await page.waitFor(1000);
expect(await page.data('isItemClickTrigger')).toBe(true);
await page.setData({
isItemClickTrigger: false
});
await program.navigateTo("/pages/component/rich-text/rich-text-tags");
await page.waitFor(500);
await program.navigateBack();
await program.tap({
x: (rect.right - rect.left) / 2,
y: info.statusBarHeight + 44 + (rect.bottom - rect.top) / 2
});
await page.waitFor(1000);
expect(await page.data('isItemClickTrigger')).toBe(true);
await page.setData({
autoTest: false
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册