提交 880db3c6 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

优化 slider-maxValue 测试例 模拟点击坐标点,适配 iOS12.4机型

(cherry picked from commit 8b6b70ec)
上级 3840433b
......@@ -20,8 +20,13 @@ describe('rich-text-test', () => {
it('richt-text-height', async () => {
let beforeValue = await page.data('richTextHeight')
if (beforeValue < 10) {
await page.waitFor(1000)
await page.waitFor(2000)
beforeValue = await page.data('richTextHeight')
if (beforeValue < 10) {
await page.waitFor(2000)
beforeValue = await page.data('richTextHeight')
}
}
await page.callMethod('changeText')
await page.waitFor(500)
......
......@@ -27,7 +27,7 @@ describe('touch-events-test', () => {
it('test-slider-max-value', async () => {
let iconRect = await page.data('sliderRect')
let x = iconRect.x + 15
let x = iconRect.x + 25
let y = iconRect.y + 15
// 滑动事件
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册