From 051dfd1ac632478ff84bf78108e5aa48cb84d8c9 Mon Sep 17 00:00:00 2001 From: zhouke Date: Wed, 24 May 2023 09:52:58 +0800 Subject: [PATCH] =?UTF-8?q?arkxtest=E5=A2=9E=E5=8A=A0=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B.=E8=A2=AB=E6=B5=8Bhap=E5=8C=85=E5=88=87?= =?UTF-8?q?=E6=88=90arkui=E6=96=B0=E6=A1=86=E6=9E=B6stage=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=20.Signed-off-by:=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouke --- testfwk/uitest/src/main/ets/test/uitest.test.ets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testfwk/uitest/src/main/ets/test/uitest.test.ets b/testfwk/uitest/src/main/ets/test/uitest.test.ets index b6ecacff9..46896a121 100644 --- a/testfwk/uitest/src/main/ets/test/uitest.test.ets +++ b/testfwk/uitest/src/main/ets/test/uitest.test.ets @@ -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')) -- GitLab