diff --git a/arkui/ace_ets_component_ui/entry/src/main/ets/test/GridJsunit.test.ets b/arkui/ace_ets_component_ui/entry/src/main/ets/test/GridJsunit.test.ets index 07b0aaab7d102ac9946e4d3c643d626d760e6a53..eca108d276c0bee64ee1b9d8c5676b69341b96ca 100644 --- a/arkui/ace_ets_component_ui/entry/src/main/ets/test/GridJsunit.test.ets +++ b/arkui/ace_ets_component_ui/entry/src/main/ets/test/GridJsunit.test.ets @@ -152,7 +152,7 @@ export default function GridJsunit() { let strJson2 = getInspectorByKey('grid2'); let obj2 = JSON.parse(strJson2); console.info("[GridJsunit_0300] component obj2 is: " + JSON.stringify(obj2)); - expect(obj2.$attrs.scrollBar).assertEqual('BarState.Off'); + expect(obj2.$attrs.scrollBar).assertEqual('BarState.Auto'); expect(obj2.$attrs.scrollBarColor).assertEqual('#FF000000'); expect(obj2.$attrs.scrollBarWidth).assertEqual('4.00vp'); console.info('[GridJsunit_0300] END');