@@ -363,18 +363,13 @@ async function runCliControls() {
363363 ) ;
364364 await cliStep (
365365 "CLI focus fixture text field" ,
366- [ "tap" , simulatorUDID , "--id" , "fixture.message" , "--wait-timeout-ms" , "5000" ] ,
367- { } ,
368- { expectFixture : true } ,
369- ) ;
370- await cliStep (
371- "CLI focus fixture text field normalized" ,
372366 [
373367 "tap" ,
374368 simulatorUDID ,
375- "0.708" ,
376- "0.5" ,
377- "--normalized" ,
369+ "--id" ,
370+ "fixture.message" ,
371+ "--wait-timeout-ms" ,
372+ "5000" ,
378373 "--duration-ms" ,
379374 "120" ,
380375 "--post-delay-ms" ,
@@ -900,7 +895,10 @@ async function verifyUi(label, options = {}) {
900895}
901896
902897async function resolveKnownSystemPrompts ( snapshot , label ) {
903- if ( ! looksLikeOpenUrlPrompt ( snapshot ) && ! looksLikeKeyboardTipPrompt ( snapshot ) ) {
898+ if (
899+ ! looksLikeOpenUrlPrompt ( snapshot ) &&
900+ ! looksLikeKeyboardTipPrompt ( snapshot )
901+ ) {
904902 return snapshot ;
905903 }
906904 const promptKind = looksLikeOpenUrlPrompt ( snapshot )
@@ -934,7 +932,10 @@ async function resolveKnownSystemPrompts(snapshot, label) {
934932 maxElapsedMs : describeUiBudgetMs ,
935933 } ,
936934 ) ;
937- if ( ! looksLikeOpenUrlPrompt ( current ) && ! looksLikeKeyboardTipPrompt ( current ) ) {
935+ if (
936+ ! looksLikeOpenUrlPrompt ( current ) &&
937+ ! looksLikeKeyboardTipPrompt ( current )
938+ ) {
938939 logStep ( `system ${ promptKind } prompt cleared by ${ action . label } ` ) ;
939940 return current ;
940941 }
@@ -946,13 +947,21 @@ function openUrlPromptActions(snapshot) {
946947 const actions = [
947948 {
948949 label : "key enter" ,
949- run : ( ) => simdeckJson ( [ "key" , simulatorUDID , "enter" ] , { timeoutMs : 60_000 } ) ,
950+ run : ( ) =>
951+ simdeckJson ( [ "key" , simulatorUDID , "enter" ] , { timeoutMs : 60_000 } ) ,
950952 } ,
951953 {
952954 label : "tap Open by label" ,
953955 run : ( ) =>
954956 simdeckJson (
955- [ "tap" , simulatorUDID , "--label" , "Open" , "--wait-timeout-ms" , "5000" ] ,
957+ [
958+ "tap" ,
959+ simulatorUDID ,
960+ "--label" ,
961+ "Open" ,
962+ "--wait-timeout-ms" ,
963+ "5000" ,
964+ ] ,
956965 { timeoutMs : 60_000 } ,
957966 ) ,
958967 } ,
@@ -1064,10 +1073,7 @@ function buttonCandidatePoints(snapshot, label) {
10641073 return [ ] ;
10651074 }
10661075 const bounds = rootBounds ( snapshot ) ;
1067- const candidates = [
1068- point ,
1069- { x : point . y , y : point . x } ,
1070- ] ;
1076+ const candidates = [ point , { x : point . y , y : point . x } ] ;
10711077 if ( bounds ) {
10721078 candidates . push (
10731079 { x : bounds . width - point . x , y : point . y } ,
@@ -1087,10 +1093,7 @@ function openButtonCandidatePoints(snapshot) {
10871093 return [ ] ;
10881094 }
10891095 const bounds = rootBounds ( snapshot ) ;
1090- const candidates = [
1091- point ,
1092- { x : point . y , y : point . x } ,
1093- ] ;
1096+ const candidates = [ point , { x : point . y , y : point . x } ] ;
10941097 if ( bounds ) {
10951098 candidates . push (
10961099 { x : bounds . width - point . x , y : point . y } ,
@@ -1266,12 +1269,7 @@ function runBuffer(command, args, options = {}) {
12661269 `${ command } ${ args . join ( " " ) } took ${ elapsedMs } ms, above ${ options . maxElapsedMs } ms budget` ,
12671270 ) ;
12681271 }
1269- logCommandResult (
1270- command ,
1271- args ,
1272- elapsedMs ,
1273- `<${ result . stdout . length } bytes>` ,
1274- ) ;
1272+ logCommandResult ( command , args , elapsedMs , `<${ result . stdout . length } bytes>` ) ;
12751273 return result . stdout ;
12761274}
12771275
0 commit comments