MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / runCliControls

Function runCliControls

scripts/integration/cli.mjs:394–588  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

392}
393
394async function runCliControls() {
395 await cliStep("CLI home", ["home", simulatorUDID], {}, { skip: true });
396 await cliStep(
397 "CLI tap",
398 [
399 "tap",
400 simulatorUDID,
401 "0.5",
402 "0.525",
403 "--normalized",
404 "--duration-ms",
405 "20",
406 ],
407 {},
408 { skip: true },
409 );
410 await cliStep(
411 "CLI touch began",
412 [
413 "touch",
414 simulatorUDID,
415 "0.5",
416 "0.525",
417 "--phase",
418 "began",
419 "--normalized",
420 ],
421 {},
422 { skip: true },
423 );
424 await cliStep(
425 "CLI touch ended",
426 [
427 "touch",
428 simulatorUDID,
429 "0.5",
430 "0.525",
431 "--phase",
432 "ended",
433 "--normalized",
434 ],
435 {},
436 { skip: true },
437 );
438 await cliStep(
439 "CLI touch down/up",
440 [
441 "touch",
442 simulatorUDID,
443 "0.5",
444 "0.525",
445 "--down",
446 "--up",
447 "--normalized",
448 "--delay-ms",
449 "20",
450 ],
451 {},

Callers 1

mainFunction · 0.85

Calls 5

cliStepFunction · 0.85
ensureFixtureForegroundFunction · 0.85
cliArgsFunction · 0.85
measuredStepFunction · 0.70
simdeckJsonFunction · 0.70

Tested by

no test coverage detected