diff --git a/arkui/ace_ets_layout_test/entry/src/main/ets/test/Tabs/Tabs_ParmsChange/Tabs_scrollable.test.ets b/arkui/ace_ets_layout_test/entry/src/main/ets/test/Tabs/Tabs_ParmsChange/Tabs_scrollable.test.ets index 857c2e58c37ac1ea2eff938c542eecbd805c2a22..8d739657a30af877a0f8391a7667dae9341d1b31 100644 --- a/arkui/ace_ets_layout_test/entry/src/main/ets/test/Tabs/Tabs_ParmsChange/Tabs_scrollable.test.ets +++ b/arkui/ace_ets_layout_test/entry/src/main/ets/test/Tabs/Tabs_ParmsChange/Tabs_scrollable.test.ets @@ -171,8 +171,8 @@ export default function Tabs_scrollable() { let btn1 = await driver.findComponent(ON.text('blueTwo')); await btn1.click() await CommonFunc.sleep(1000); - Tabs_scrollable_002 = CommonFunc.getComponentRect('Tabs_scrollable_005'); - Tabs_scrollable_012 = CommonFunc.getComponentRect('Tabs_scrollable_042'); + let Tabs_scrollable_002 = CommonFunc.getComponentRect('Tabs_scrollable_005'); + let Tabs_scrollable_012 = CommonFunc.getComponentRect('Tabs_scrollable_042'); let btn2 = await driver.findComponent(ON.text('yellowTwo')); await btn2.click() await CommonFunc.sleep(1000);