@@ -106,7 +106,7 @@ test('test command prints suite summary and exits non-zero on failures', async (
106106 assert . equal ( result . calls . length , 1 ) ;
107107 assert . equal ( result . calls [ 0 ] ?. meta ?. requestProgress , 'replay-test' ) ;
108108 assert . match ( result . stderr , / R u n n i n g r e p l a y s u i t e \. \. \. / ) ;
109- assert . doesNotMatch ( result . stdout , / P A S S \/ t m p \/ 0 1 - p a s s \. a d / ) ;
109+ assert . match ( result . stdout , / P A S S 0 1 - p a s s \. a d \( 0 \. 0 1 s \) / ) ;
110110 assert . match (
111111 result . stdout ,
112112 / F A I L " C h e c k o u t f a i l u r e " i n 0 2 - f a i l \. a d a f t e r 2 a t t e m p t s \( t o t a l 0 \. 0 0 5 s \) / ,
@@ -204,9 +204,9 @@ test('test command --verbose prints step telemetry for passing tests without deb
204204 assert . equal ( result . code , null ) ;
205205 assert . equal ( result . calls [ 0 ] ?. meta ?. debug , false ) ;
206206 assert . match ( result . stdout , / P A S S " A u t h e n t i c a t i o n f l o w " \( 0 \. 5 s \) / ) ;
207- assert . match ( result . stdout , / s t e p s \( a t t e m p t 1 \) : / ) ;
208- assert . match ( result . stdout , / \[ o k \] t a p O n " t e x t = \\ " L o g i n \\ " " \( l i n e 3 , 0 \. 2 5 s \) / ) ;
209- assert . match ( result . stdout , / \[ o k \] a s s e r t V i s i b l e " t e x t = \\ " H o m e \\ " " \( l i n e 4 , 0 \. 0 7 5 s \) / ) ;
207+ assert . match ( result . stdout , / s t e p s : / ) ;
208+ assert . match ( result . stdout , / t a p O n " t e x t = \\ " L o g i n \\ " " \( l i n e 3 , 0 \. 2 5 s \) / ) ;
209+ assert . match ( result . stdout , / a s s e r t V i s i b l e " t e x t = \\ " H o m e \\ " " \( l i n e 4 , 0 \. 0 7 5 s \) / ) ;
210210 } finally {
211211 await fs . rm ( tmpDir , { recursive : true , force : true } ) ;
212212 }
@@ -248,6 +248,10 @@ test('test command reports flaky passed-on-retry cases in the default summary',
248248 assert . equal ( result . code , null ) ;
249249 assert . match ( result . stderr , / R u n n i n g r e p l a y s u i t e \. \. \. / ) ;
250250 assert . doesNotMatch ( result . stdout , / F L A K Y / ) ;
251+ assert . match (
252+ result . stdout ,
253+ / P A S S " A u t h e n t i c a t i o n f l o w " a f t e r 2 a t t e m p t s \( p a s s e d a t t e m p t 1 7 \. 5 s , t o t a l 1 1 2 \. 2 s \) / ,
254+ ) ;
251255 assert . match ( result . stdout , / T e s t s u m m a r y : 1 p a s s e d , 0 f a i l e d , 1 f l a k y i n 0 \. 0 2 5 s / ) ;
252256 assert . match ( result . stdout , / F l a k y t e s t s : / ) ;
253257 assert . match (
@@ -336,10 +340,7 @@ test('test command prints failed attempt step telemetry when timing trace exists
336340
337341 assert . equal ( result . code , 1 ) ;
338342 assert . match ( result . stdout , / s t e p s \( a t t e m p t 2 \) : / ) ;
339- assert . match (
340- result . stdout ,
341- / \[ o k \] o p e n " D e m o " \( l i n e 3 , 0 \. 1 2 5 s , t i m i n g \{ " l a u n c h M s " : 1 0 0 \} \) / ,
342- ) ;
343+ assert . match ( result . stdout , / o p e n " D e m o " \( l i n e 3 , 0 \. 1 2 5 s , t i m i n g \{ " l a u n c h M s " : 1 0 0 \} \) / ) ;
343344 assert . match (
344345 result . stdout ,
345346 / \[ F A I L \] t a p O n " t e x t = \\ " P a y \\ " " \( l i n e 4 , 1 \. 5 0 s , A S S E R T I O N _ F A I L E D \) / ,
@@ -381,6 +382,7 @@ test('test --maestro forwards Maestro backend and platform for directory suites'
381382 assert . deepEqual ( result . calls [ 0 ] ?. positionals , [ tmpDir ] ) ;
382383 assert . equal ( result . calls [ 0 ] ?. flags ?. replayBackend , 'maestro' ) ;
383384 assert . equal ( result . calls [ 0 ] ?. flags ?. platform , 'android' ) ;
385+ assert . equal ( result . calls [ 0 ] ?. meta ?. requestProgress , 'replay-test' ) ;
384386 assert . match ( result . stderr , / R u n n i n g r e p l a y s u i t e \. \. \. / ) ;
385387 } finally {
386388 await fs . rm ( tmpDir , { recursive : true , force : true } ) ;
0 commit comments