提交 02301223 编写于 作者: Z zhouke

测试用例执行顺序调整.hap包切成arkui新框架stage模型 .Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 a0e804c7
......@@ -934,8 +934,6 @@ export default function UiTest() {
await driver.swipe(300,600,300,300)
let text = await driver.findComponent(ON.text('next page'))
expect(text == null).assertTrue()
let scrollBar = await driver.findComponent(ON.type('Scroll'))
await scrollBar.scrollToTop()
await stopApplication('com.uitestScene.acts')
})
......@@ -951,8 +949,6 @@ export default function UiTest() {
await driver.fling({x:300, y:600},{x:300, y:300}, 20, 600)
let text = await driver.findComponent(ON.text('next page'))
expect(text == null).assertTrue()
let scrollBar = await driver.findComponent(ON.type('Scroll'))
await scrollBar.scrollToTop()
await stopApplication('com.uitestScene.acts')
})
......@@ -985,7 +981,6 @@ export default function UiTest() {
await scrollBar.scrollToBottom()
let button = await driver.findComponent(ON.text('bottom'))
expect(await button.getText() == 'bottom').assertTrue()
await scrollBar.scrollToTop()
await stopApplication('com.uitestScene.acts')
})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册