From 1ca2f4e4fdae308443a357f6e9de4ab399e135f4 Mon Sep 17 00:00:00 2001 From: zhouke Date: Wed, 8 Mar 2023 19:14:26 +0800 Subject: [PATCH] =?UTF-8?q?arkXtest=E6=B5=8B=E8=AF=95=E5=A5=97=E7=94=A8?= =?UTF-8?q?=E4=BE=8B=E8=B0=83=E6=95=B4=E5=92=8C=E8=A1=A5=E5=85=85.Signed-o?= =?UTF-8?q?ff-by:=20.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhouke --- arkXtest/uitest/src/main/ets/test/uitest.test.ets | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/arkXtest/uitest/src/main/ets/test/uitest.test.ets b/arkXtest/uitest/src/main/ets/test/uitest.test.ets index 2dd451302..07bde45a6 100644 --- a/arkXtest/uitest/src/main/ets/test/uitest.test.ets +++ b/arkXtest/uitest/src/main/ets/test/uitest.test.ets @@ -39,7 +39,7 @@ async function stopApplication(bundleName: string) { export default function UiTest() { -describe('UiTest_API10', function () { + describe('UiTest_API10', function () { /* * @tc.number: uiTest_10001 * @tc.name: testWithIn @@ -107,8 +107,7 @@ describe('UiTest_API10', function () { * @tc.desc: click in the specified location on the screen by mouse. */ it('testMouseClick', 0, async function () { -// await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') - await startAbility('com.example.myapplication_scene', 'com.example.entry.MainAbility') + await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') let driver = Driver.create() await driver.delayMs(waitUiReadyMs) let Button = await driver.findComponent(ON.text('jump')) @@ -134,8 +133,7 @@ describe('UiTest_API10', function () { * @tc.desc: move the mouse cursor to the specified location. */ it('testMouseMoveTo', 0, async function () { -// await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') - await startAbility('com.example.myapplication_scene', 'com.example.entry.MainAbility') + await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') let driver = Driver.create() await driver.delayMs(waitUiReadyMs) let Button = await driver.findComponent(ON.text('jump')) @@ -153,8 +151,7 @@ describe('UiTest_API10', function () { * @tc.desc: scroll the mouse wheel at the specified location to specify the cell. */ it('testMouseScroll', 0, async function () { - // await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') - await startAbility('com.example.myapplication_scene', 'com.example.entry.MainAbility') + await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') let driver = Driver.create() await driver.delayMs(waitUiReadyMs) let Scroll = await driver.findComponent(ON.type('Scroll')) @@ -170,7 +167,7 @@ describe('UiTest_API10', function () { await stopApplication('com.uitestScene.acts') }) }) - + describe('UiTest_API8', function () { /* * @tc.number: uiTest_8001 -- GitLab