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() {
48
48
// });
49
49
50
50
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
+ //--------
51
80
print ("Sending xcrun simctl terminate command..." );
81
+
52
82
// CI Timeout
53
83
// final process = await Process.start(
54
84
// "xcrun",
@@ -67,12 +97,13 @@ void main() {
67
97
// "sh",
68
98
// ["-c", "xcrun simctl terminate booted '$appBundleId'"],
69
99
// );
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}");
76
107
77
108
// CI Timeout
78
109
// final script = '''
You can’t perform that action at this time.
0 commit comments