diff --git a/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets b/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets index 0f25a7432048cbe59f39bd93fed4ec8f4e832950..8a21cf4dd8a59e9ccc0642dc183de854f5b96da9 100644 --- a/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets +++ b/testfwk/uitestScene/entry/src/main/ets/pages/Index.ets @@ -113,7 +113,7 @@ struct ScrollExample { } }) .onClick(() => { - router.push({ uri: 'pages/screen' }) + router.push({ uri: 'pages/pinch' }) }) .gesture( LongPressGesture({ repeat: false }) diff --git a/testfwk/uitestScene/entry/src/main/ets/pages/screen.ets b/testfwk/uitestScene/entry/src/main/ets/pages/pinch.ets similarity index 98% rename from testfwk/uitestScene/entry/src/main/ets/pages/screen.ets rename to testfwk/uitestScene/entry/src/main/ets/pages/pinch.ets index 07ded458b69682654d83265a853a52f7a8d48389..99ca3be81e4ea975457952ad5bc35b371901648a 100644 --- a/testfwk/uitestScene/entry/src/main/ets/pages/screen.ets +++ b/testfwk/uitestScene/entry/src/main/ets/pages/pinch.ets @@ -17,7 +17,7 @@ import prompt from '@ohos.prompt'; @Entry @Component -struct Screen { +struct PinchTest { @State myscale: number = 1 build() { diff --git a/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json b/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json index beee71037f31202723d94caee12d2200797a0f65..48cb01e79516abcce8ae0fb3cf1dc06c1a1324f3 100644 --- a/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json +++ b/testfwk/uitestScene/entry/src/main/resources/base/profile/main_pages.json @@ -4,7 +4,7 @@ "pages/second", "pages/third", "pages/fourth", - "pages/screen", + "pages/pinch", "pages/drag" ] }