@@ -67,6 +67,9 @@ describe('My Login application', () => {
6767 . flutterByValueKey$ ( 'double_tap_button' )
6868 . flutterByText$ ( 'Double Tap' ) ;
6969 expect ( await element . getText ( ) ) . toEqual ( 'Double Tap' ) ;
70+ const size = await element . getSize ( ) ;
71+ expect ( size . width ) . toBeGreaterThan ( 0 ) ;
72+ expect ( size . height ) . toBeGreaterThan ( 0 ) ;
7073 await browser . flutterDoubleClick ( {
7174 element : element ,
7275 } ) ;
@@ -101,6 +104,19 @@ describe('My Login application', () => {
101104 expect ( await message . getText ( ) ) . toEqual ( 'Hello world' ) ;
102105 } ) ;
103106
107+ it . only ( 'Nested Scroll Test' , async ( ) => {
108+ await performLogin ( ) ;
109+ await openScreen ( 'Nested Scroll' ) ;
110+ const parentElement = await browser . flutterScrollTillVisible ( {
111+ finder : await browser . flutterByText ( 'Parent Element 4' ) ,
112+ scrollDirection : 'down' ,
113+ } ) ;
114+ await browser . flutterScrollTillVisible ( {
115+ finder : await parentElement . flutterByValueKey ( '' ) ,
116+ scrollView : parentElement ,
117+ scrollDirection : 'down' ,
118+ } ) ;
119+ } ) ;
104120 it ( 'Scroll Test' , async ( ) => {
105121 await performLogin ( ) ;
106122 await openScreen ( 'Vertical Swiping' ) ;
0 commit comments