提交 05dff424 编写于 作者: Z zhouke

modify.Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 3a526d50
......@@ -502,10 +502,8 @@ export default function uiTest() {
let driver = UiDriver.create()
await driver.delayMs(waitUiReadyMs)
let scrollBar = await driver.findComponent(BY.type('Scroll'))
let text = await scrollBar.scrollSearch(BY.text('4'))
await driver.delayMs(waitUiReadyMs)
expect(text == null).assertTrue()
await scrollBar.scrollToTop()
let button = await scrollBar.scrollSearch(BY.text('next page'))
expect(await button.getText() == 'next page').assertTrue()
})
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册