File tree Expand file tree Collapse file tree 1 file changed +37
-6
lines changed
packages/flutter_test_runners/example_deep_links/test_driver Expand file tree Collapse file tree 1 file changed +37
-6
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,37 @@ void main() {
4848 // });
4949
5050 test ("Send terminate command to simulator" , () async {
51+ print ("Running device list command:" );
52+ final result1 = await Process .run (
53+ "sh" ,
54+ [
55+ "-c" ,
56+ "xcrun" ,
57+ "simctl" ,
58+ "list" ,
59+ ],
60+ );
61+ print ("result1: ${result1 .exitCode }" );
62+ print ("" );
63+
64+ print ("Running get_app_container command:" );
65+ final result2 = await Process .run (
66+ "sh" ,
67+ [
68+ "-c" ,
69+ "xcrun" ,
70+ "simctl" ,
71+ "get_app_container" ,
72+ "booted" ,
73+ "com.flutterbountyhunters.deeplinks.example" ,
74+ ],
75+ );
76+ print ("result2: ${result2 .exitCode }" );
77+ print ("" );
78+
79+ //--------
5180 print ("Sending xcrun simctl terminate command..." );
81+
5282 // CI Timeout
5383 // final process = await Process.start(
5484 // "xcrun",
@@ -67,12 +97,13 @@ void main() {
6797 // "sh",
6898 // ["-c", "xcrun simctl terminate booted '$appBundleId'"],
6999 // );
70-
71- final result = await Process .run (
72- "sh" ,
73- ["-c" , "xcrun simctl terminate booted '$appBundleId '" ],
74- );
75- print ("Exit code: ${result .exitCode }" );
100+ //
101+ // CI Timeout
102+ // final result = await Process.run(
103+ // "sh",
104+ // ["-c", "xcrun simctl terminate booted '$appBundleId'"],
105+ // );
106+ // print("Exit code: ${result.exitCode}");
76107
77108 // CI Timeout
78109 // final script = '''
You can’t perform that action at this time.
0 commit comments