@@ -36,12 +36,17 @@ const NETWORK_INCLUDE_VALUES = ['summary', 'headers', 'body', 'all'] as const;
3636const START_STOP_VALUES = [ 'start' , 'stop' ] as const ;
3737const REACT_NATIVE_ACTION_VALUES = [ 'dismiss-overlay' ] as const ;
3838const METRO_ACTION_VALUES = [ 'prepare' , 'reload' ] as const ;
39+ const PREPARE_ACTION_VALUES = [ 'ios-runner' ] as const ;
3940
4041export const clientCommandMetadata = [
4142 defineClientCommandMetadata ( 'devices' , { } ) ,
4243 defineClientCommandMetadata ( 'boot' , {
4344 headless : booleanField ( 'Boot without showing simulator UI when supported.' ) ,
4445 } ) ,
46+ defineClientCommandMetadata ( 'prepare' , {
47+ action : requiredField ( enumField ( PREPARE_ACTION_VALUES ) ) ,
48+ timeoutMs : integerField ( 'Maximum wall-clock time for the prepare command.' ) ,
49+ } ) ,
4550 defineClientCommandMetadata ( 'apps' , {
4651 appsFilter : enumField ( [ 'user-installed' , 'all' ] ) ,
4752 } ) ,
@@ -100,6 +105,7 @@ export const clientCommandMetadata = [
100105 scope : stringField ( ) ,
101106 raw : booleanField ( ) ,
102107 forceFull : booleanField ( ) ,
108+ timeoutMs : integerField ( 'Maximum wall-clock time for the snapshot command.' ) ,
103109 } ) ,
104110 defineClientCommandMetadata ( 'screenshot' , {
105111 path : stringField ( 'Output path.' ) ,
0 commit comments