提交 051dfd1a 编写于 作者: Z zhouke

arkxtest增加测试用例.被测hap包切成arkui新框架stage模型 .Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 628ad7f9
......@@ -562,7 +562,7 @@ export default function UiTest() {
await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
let driver = UiDriver.create()
await driver.delayMs(waitUiReadyMs)
await driver.swipe(300, 600, 300, 300)
await driver.swipe(300, 800, 300, 300)
let text = await driver.findComponent(BY.text('next page'))
expect(text == null).assertTrue()
await stopApplication('com.uitestScene.acts')
......@@ -1097,7 +1097,7 @@ export default function UiTest() {
await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
let driver = Driver.create()
await driver.delayMs(waitUiReadyMs)
await driver.swipe(300,600,300,300)
await driver.swipe(300,800,300,300)
let text = await driver.findComponent(ON.text('next page'))
expect(text == null).assertTrue()
let scrollBar = await driver.findComponent(ON.type('Scroll'))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册