File tree Expand file tree Collapse file tree
test/integration/provider-scenarios Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,6 +44,18 @@ test('Provider-backed integration iOS Settings flow uses scripted simctl and run
4444 ios_simulator_device_set : null ,
4545 } ,
4646 } ,
47+ {
48+ name : 'prepare iOS runner' ,
49+ command : 'prepare' ,
50+ positionals : [ 'ios-runner' ] ,
51+ flags : { platform : 'ios' , udid : PROVIDER_SCENARIO_IOS_SIMULATOR . id } ,
52+ expectData : {
53+ action : 'ios-runner' ,
54+ platform : 'ios' ,
55+ deviceId : PROVIDER_SCENARIO_IOS_SIMULATOR . id ,
56+ runner : { uptimeMs : 42 } ,
57+ } ,
58+ } ,
4759 {
4860 name : 'capture settings snapshot' ,
4961 command : 'snapshot' ,
Original file line number Diff line number Diff line change @@ -29,6 +29,13 @@ export async function createIosSettingsWorld(): Promise<IosSettingsWorld> {
2929 const { tempRoot, appPath } = createDemoIosApp ( 'agent-device-provider-scenario-ios-deploy-' ) ;
3030 const inventoryRequests : DeviceInventoryRequest [ ] = [ ] ;
3131 const runnerTranscript = createProviderTranscript ( [
32+ {
33+ command : 'ios.runner.uptime' ,
34+ deviceId : PROVIDER_SCENARIO_IOS_SIMULATOR . id ,
35+ platform : 'ios' ,
36+ request : { command : 'uptime' } ,
37+ result : { uptimeMs : 42 } ,
38+ } ,
3239 runnerSnapshot ( ) ,
3340 runnerSnapshot ( ) ,
3441 {
You can’t perform that action at this time.
0 commit comments