@@ -166,7 +166,7 @@ export class ConversationsMenuItem extends LocatorsInterface {
166166 return {
167167 strategy : '-android uiautomator' ,
168168 selector :
169- 'new UiScrollable(new UiSelector().className("android.widget.ScrollView" )).scrollIntoView(new UiSelector().resourceId("Conversations"))' ,
169+ 'new UiScrollable(new UiSelector().scrollable(true )).scrollIntoView(new UiSelector().resourceId("Conversations"))' ,
170170 } as const ;
171171 case 'ios' :
172172 return {
@@ -184,7 +184,7 @@ export class AppearanceMenuItem extends LocatorsInterface {
184184 return {
185185 strategy : '-android uiautomator' ,
186186 selector :
187- 'new UiScrollable(new UiSelector().className("android.widget.ScrollView" )).scrollIntoView(new UiSelector().resourceId("Appearance"))' ,
187+ 'new UiScrollable(new UiSelector().scrollable(true )).scrollIntoView(new UiSelector().resourceId("Appearance"))' ,
188188 } as const ;
189189 case 'ios' :
190190 return {
@@ -219,7 +219,7 @@ export class SelectAppIcon extends LocatorsInterface {
219219 return {
220220 strategy : '-android uiautomator' ,
221221 selector :
222- 'new UiScrollable(new UiSelector().className("android.widget.ScrollView" )).scrollIntoView(new UiSelector().text("Select app icon"))' ,
222+ 'new UiScrollable(new UiSelector().scrollable(true )).scrollIntoView(new UiSelector().text("Select app icon"))' ,
223223 } as const ;
224224 case 'ios' :
225225 return {
@@ -300,7 +300,7 @@ export class PathMenuItem extends LocatorsInterface {
300300 return {
301301 strategy : '-android uiautomator' ,
302302 selector :
303- 'new UiScrollable(new UiSelector().className("android.widget.ScrollView" )).scrollIntoView(new UiSelector().resourceId("path-menu-item"))' ,
303+ 'new UiScrollable(new UiSelector().scrollable(true )).scrollIntoView(new UiSelector().resourceId("path-menu-item"))' ,
304304 } as const ;
305305 case 'ios' :
306306 return {
@@ -318,7 +318,7 @@ export class VersionNumber extends LocatorsInterface {
318318 return {
319319 strategy : '-android uiautomator' ,
320320 selector :
321- 'new UiScrollable(new UiSelector().className("android.widget.ScrollView" )).scrollIntoView(new UiSelector().textStartsWith("Version"))' ,
321+ 'new UiScrollable(new UiSelector().scrollable(true )).scrollIntoView(new UiSelector().textStartsWith("Version"))' ,
322322 } as const ;
323323 case 'ios' :
324324 return {
0 commit comments