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 e94187637b7a5f8727ccc1c19fbd444aad0c97ad..4ab354c07992725a00bf4dc870280c488b301eb6 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 @@ -175,8 +175,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);