@@ -392,52 +392,6 @@ test('usageForCommand resolves web help topic', async () => {
392392 assert . match ( help , / D o n o t u s e n a t i v e m o b i l e o r d e s k t o p s e t u p c o m m a n d s / ) ;
393393} ) ;
394394
395- test ( 'usageForCommand resolves debugging help topic' , async ( ) => {
396- const help = await usageForCommand ( 'debugging' ) ;
397- if ( help === null ) throw new Error ( 'Expected debugging help text' ) ;
398- assert . match ( help , / ^ a g e n t - d e v i c e \S + — d e b u g g i n g / ) ;
399- assert . match ( help , / U s e l o g s w h e n y o u n e e d t h e l e a d - u p t i m e l i n e / ) ;
400- assert . match ( help , / r e l a u n c h e s t h e s e s s i o n a p p t h r o u g h d e v i c e c t l p r o c e s s l a u n c h - - c o n s o l e / ) ;
401- assert . match ( help , / U s e d e b u g s y m b o l s w h e n y o u h a v e c r a s h \. i p s \/ c r a s h \. l o g / ) ;
402- assert . match ( help , / U s e X c o d e \/ L L D B w h e n y o u n e e d l i v e s t a t e / ) ;
403- assert . match ( help , / d e b u g s y m b o l s - - a r t i f a c t c r a s h \. i p s - - s e a r c h - p a t h \. \/ b u i l d / ) ;
404- assert . match ( help , / A n d r o i d J a v a \/ R 8 m a p p i n g \. t x t a n d n a t i v e n d k - s t a c k \/ a d d r 2 l i n e / ) ;
405- assert . match ( help , / n e t w o r k \/ a u d i o e v i d e n c e / ) ;
406- assert . match ( help , / a g e n t - d e v i c e a l e r t w a i t 3 0 0 0 / ) ;
407- assert . match ( help , / i O S s u p p o r t i s r u n n e r - d e r i v e d / ) ;
408- assert . match ( help , / r e s o l v e d a p p e x e c u t a b l e / ) ;
409- assert . match ( help , / - - l a u n c h - c o n s o l e i s o n l y f o r d i r e c t i O S s i m u l a t o r a p p l a u n c h e s / ) ;
410- assert . match ( help , / r u n n e r L o g P a t h a n d r e q u e s t L o g P a t h / ) ;
411- assert . match (
412- help ,
413- / A G E N T _ D E V I C E _ E X E C _ T R A C E = 1 w h e n y o u n e e d h o s t - t o o l s p a w n t i m i n g w i t h o u t f u l l d e b u g s t r e a m i n g / ,
414- ) ;
415- assert . match ( help , / o p e n - - d e b u g - - j s o n / ) ;
416- assert . match ( help , / o p e n _ t i m i n g e v e n t / ) ;
417- assert . match ( help , / r e q u e s t s \/ < r e q u e s t - i d > \. n d j s o n h o l d s d a e m o n r e q u e s t d i a g n o s t i c s / ) ;
418- assert . match ( help , / d a e m o n \. l o g i s g l o b a l d a e m o n l i f e c y c l e e v i d e n c e / ) ;
419- assert . match ( help , / a g e n t - d e v i c e p e r f m e m o r y s a m p l e - - j s o n / ) ;
420- assert . match ( help , / a g e n t - d e v i c e a u d i o p r o b e s t a r t 1 0 1 0 0 0 - - p l a t f o r m w e b / ) ;
421- assert . match ( help , / a g e n t - d e v i c e a u d i o p r o b e s t a r t 1 0 1 0 0 0 - - p l a t f o r m m a c o s / ) ;
422- assert . match ( help , / a g e n t - d e v i c e a u d i o p r o b e s t a r t 1 0 1 0 0 0 - - p l a t f o r m i o s / ) ;
423- assert . match ( help , / a g e n t - d e v i c e a u d i o p r o b e s t a r t 1 0 1 0 0 0 - - p l a t f o r m a n d r o i d / ) ;
424- assert . match ( help , / c o m p a c t r m s D b f s a n d p e a k D b f s a r r a y s / ) ;
425- assert . match ( help , / r e q u i r e s S c r e e n R e c o r d i n g p e r m i s s i o n / ) ;
426- assert . match ( help , / P h y s i c a l i O S a n d A n d r o i d d e v i c e s a r e n o t s u p p o r t e d / ) ;
427- assert . match ( help , / M e m o r y a r t i f a c t \( a n d r o i d - h p r o f \) : \/ t m p \/ a p p \. h p r o f \( 4 2 M B \) / ) ;
428- assert . match ( help , / P r e f e r p e r f m e m o r y s a m p l e o v e r r a w d u m p s y s \/ l e a k s o u t p u t / ) ;
429- assert . match ( help , / U n s u p p o r t e d p l a t f o r m s r e t u r n a r t i f a c t \. a v a i l a b l e = f a l s e w i t h r e a s o n \/ h i n t / ) ;
430- assert . match ( help , / D o n o t u s e s e t t i n g s p e r m i s s i o n t o a n s w e r a d i a l o g a l r e a d y o n s c r e e n / ) ;
431- assert . match ( help , / T r e a t n a t i v e p e r f o u t p u t a s t h e a g e n t e v i d e n c e / ) ;
432- assert . match ( help , / s i z e B y t e s = 5 3 9 2 4 1 0 / ) ;
433- assert . match ( help , / 5 \. 3 M B r a w t r a c e s t a y s i n t h e a r t i f a c t / ) ;
434- assert . match ( help , / i O S A l l o w P a s t e c a n n o t b e e x e r c i s e d u n d e r X C U I T e s t / ) ;
435- assert . match ( help , / p r e f i l l w i t h c l i p b o a r d w r i t e " s o m e t e x t " / ) ;
436- assert . match ( help , / A n d r o i d G b o a r d h a n d w r i t i n g \/ s t y l u s U I c a n c a p t u r e t e x t / ) ;
437- assert . match ( help , / t a r g e t I n p u t \/ a c t u a l I n p u t d e t a i l s / ) ;
438- assert . match ( help , / D o n o t k e e p r e t r y i n g f i l l \/ t y p e a g a i n s t t h e s a m e f i e l d / ) ;
439- } ) ;
440-
441395test ( 'usageForCommand resolves remote help topic' , async ( ) => {
442396 const help = await usageForCommand ( 'remote' ) ;
443397 if ( help === null ) throw new Error ( 'Expected remote help text' ) ;
@@ -544,43 +498,6 @@ test('usageForCommand resolves ios-system-ui help topic', async () => {
544498 assert . match ( help , / R e o p e n t h e a p p b u n d l e u n d e r t e s t / ) ;
545499} ) ;
546500
547- test ( 'usageForCommand resolves manual QA help topic' , async ( ) => {
548- const help = await usageForCommand ( 'manual-qa' ) ;
549- if ( help === null ) throw new Error ( 'Expected manual QA help text' ) ;
550- assert . match ( help , / ^ a g e n t - d e v i c e \S + — m a n u a l - q a / ) ;
551- assert . match ( help , / E x e c u t e t h e s c r i p t / ) ;
552- assert . match ( help , / R u n s n a p s h o t - i t o g e t c u r r e n t r e f s / ) ;
553- assert . match ( help , / p r e s s \/ f i l l \/ c l i c k \/ l o n g p r e s s < r e f - o r - s e l e c t o r > - - s e t t l e / ) ;
554- assert . match ( help , / A b a r e s c r e e n s h o t \/ s n a p s h o t i s n o t v e r i f i c a t i o n / ) ;
555- assert . match ( help , / u s e f i l l < t a r g e t > < t e x t > - - s e t t l e t o r e p l a c e / ) ;
556- assert . match ( help , / u s e t y p e o n l y t o a p p e n d t o a n a l r e a d y - f o c u s e d f i e l d / ) ;
557- assert . match ( help , / l a b e l = " E m a i l " e d i t a b l e = t r u e / ) ;
558- assert . match ( help , / p r e s s ' l a b e l = " F o l l o w " ' - - s e t t l e / ) ;
559- assert . match ( help , / D o n o t u s e p l a c e h o l d e r s s u c h a s @ r e f / ) ;
560- assert . match ( help , / w a i t t e x t \/ s e l e c t o r \/ a b s e n t / ) ;
561- assert . match ( help , / w a i t a b s e n t ' l a b e l = " L o a d i n g \. \. \. " ' 3 0 0 0 / ) ;
562- assert . match ( help , / w a i t _ t a r g e t _ a b s e n t : a r e a d a b l e c a p t u r e r a n a n d f o u n d n o m a t c h / ) ;
563- assert . match ( help , / w a i t _ t a r g e t _ p r e s e n t : w a i t a b s e n t t i m e d o u t w i t h m a t c h e s / ) ;
564- assert . match ( help , / w a i t _ c a p t u r e _ s t a l l e d : n o r e a d a b l e c a p t u r e f i n i s h e d b e f o r e t h e d e a d l i n e / ) ;
565- } ) ;
566-
567- test ( 'usageForCommand resolves validate help topic' , async ( ) => {
568- const help = await usageForCommand ( 'validate' ) ;
569- if ( help === null ) throw new Error ( 'Expected validate help text' ) ;
570- assert . match ( help , / ^ a g e n t - d e v i c e \S + — v a l i d a t e / ) ;
571- assert . match ( help , / v a l i d a t i n g a c o d e c h a n g e / ) ;
572- assert . match ( help , / R e q u i r e d f r e s h n e s s g a t e b e f o r e d e v i c e v e r i f i c a t i o n / ) ;
573- assert . match ( help , / F o r a T y p e S c r i p t r u n t i m e o r C L I o u t p u t c h a n g e , s t a r t w i t h p n p m b u i l d / ) ;
574- assert . match ( help , / F o r n o n - A n d r o i d d e v i c e v e r i f i c a t i o n , r u n p n p m c l e a n : d a e m o n n e x t / ) ;
575- assert . match ( help , / r u n p n p m b u i l d : a n d r o i d b e f o r e p n p m c l e a n : d a e m o n / ) ;
576- assert . match ( help , / p n p m b u i l d : x c u i t e s t / ) ;
577- assert . match ( help , / D o n o t b u i l d t h e A p p l e r u n n e r f o r T y p e S c r i p t - o n l y c h a n g e s / ) ;
578- assert . match ( help , / U s e t h e s e t t l e d d i f f a s e v i d e n c e / ) ;
579- assert . match ( help , / C l o s e s e s s i o n s a n d r e l e a s e l e a s e s / ) ;
580- assert . match ( help , / e x a c t k e y t h a t i n c l u d e s t h e a g e n t - d e v i c e p a c k a g e a n d X c o d e v e r s i o n / ) ;
581- assert . match ( help , / R u n n e r r e u s e i s a u t h o r i z e d o n l y b y t h e c a c h e m e t a d a t a ' s c o n t e n t m a n i f e s t / ) ;
582- } ) ;
583-
584501test ( 'usageForCommand resolves macos help topic' , async ( ) => {
585502 const help = await usageForCommand ( 'macos' ) ;
586503 if ( help === null ) throw new Error ( 'Expected macos help text' ) ;
@@ -589,28 +506,6 @@ test('usageForCommand resolves macos help topic', async () => {
589506 assert . match ( help , / m e n u - i t e m r e f s / ) ;
590507} ) ;
591508
592- test ( 'usageForCommand resolves dogfood help topic' , async ( ) => {
593- const help = await usageForCommand ( 'dogfood' ) ;
594- if ( help === null ) throw new Error ( 'Expected dogfood help text' ) ;
595- assert . match ( help , / ^ a g e n t - d e v i c e \S + — d o g f o o d / ) ;
596- assert . match ( help , / F i n d u s e r - v i s i b l e i s s u e s f r o m r u n t i m e b e h a v i o r / ) ;
597- assert . match ( help , / S e v e r i t y : c r i t i c a l b l o c k s a c o r e f l o w \/ d a t a \/ c r a s h e s / ) ;
598- assert . match ( help , / I n t e r a c t i v e \/ b e h a v i o r a l i s s u e s n e e d s t e p s c r e e n s h o t s / ) ;
599- assert . match ( help , / S t a t i c \/ o n - l o a d i s s u e s c a n u s e o n e s c r e e n s h o t / ) ;
600- assert . match ( help , / R e a c t N a t i v e w a r n i n g \/ e r r o r o v e r l a y s c a n b e r e a l f i n d i n g s / ) ;
601- assert . match ( help , / E x p o G o \/ d e v - c l i e n t s h e l l s / ) ;
602- assert . match ( help , / d i r e c t A n d r o i d l o c a l h o s t U R L o p e n s w i t h a p o r t a u t o - c o n f i g u r e / ) ;
603- assert . match ( help , / K e e p s t a t e f u l c o m m a n d s s e r i a l w i t h i n t h e s a m e s e s s i o n / ) ;
604- assert . match ( help , / a g e n t - d e v i c e w a i t ' r o l e = t a b ' 1 0 0 0 0 / ) ;
605- assert . match ( help , / s c r o l l t a k e s a s e l e c t o r - l e s s d i r e c t i o n \+ a m o u n t f o r m / ) ;
606- assert . match ( help , / U s e - - s e t t l e t o w a i t f o r t h e U I t o g o q u i e t / ) ;
607- assert . match ( help , / p r e f e r a g e n t - d e v i c e o p e n " E x p o G o " < u r l > / ) ;
608- assert . match ( help , / d o g f o o d - o u t p u t \/ r e p o r t \. m d / ) ;
609- assert . match ( help , / I D , s e v e r i t y , c a t e g o r y , t i t l e , a f f e c t e d f l o w \/ s c r e e n / ) ;
610- assert . match ( help , / N e v e r d e l e t e s c r e e n s h o t s , v i d e o s , t r a c e s , o r r e p o r t a r t i f a c t s / ) ;
611- assert . match ( help , / s c r e e n s h o t \. \/ d o g f o o d - o u t p u t \/ s c r e e n s h o t s \/ i s s u e - 0 0 1 \. p n g - - o v e r l a y - r e f s / ) ;
612- } ) ;
613-
614509test ( 'usageForCommand resolves react-devtools help topic' , async ( ) => {
615510 const help = await usageForCommand ( 'react-devtools' ) ;
616511 if ( help === null ) throw new Error ( 'Expected react-devtools help text' ) ;
0 commit comments