Skip to content

Commit 08f60e6

Browse files
Working on iOS GitHub CI
1 parent 5888d4f commit 08f60e6

File tree

1 file changed

+26
-17
lines changed

1 file changed

+26
-17
lines changed

packages/flutter_test_runners/example_deep_links/test_driver/deep_link_ios_test.dart

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,35 @@ void main() {
1212

1313
group("Deep link launches app > iOS >", () {
1414
test("xcrun sanity check", () async {
15-
print("Running xcrun Process sanity check...");
16-
await Process.run("xcrun", [
17-
"simctl",
18-
"get_app_container",
19-
"booted",
20-
"com.flutterbountyhunters.deeplinks.example",
21-
]);
15+
print("Running xcrun Process sanity check.");
16+
17+
print("Env variables:");
18+
print(Process.runSync('env', []).stdout);
19+
20+
print("Running the command...");
21+
await Process.run(
22+
"xcrun",
23+
[
24+
"simctl",
25+
"get_app_container",
26+
"booted",
27+
"com.flutterbountyhunters.deeplinks.example",
28+
],
29+
environment: {'DEVELOPER_DIR': '/Applications/Xcode.app/Contents/Developer'},
30+
);
2231
print("The xcrun call returned without issue");
2332
});
2433

25-
testDeepLinkIosAppLaunch(
26-
"home screen",
27-
appBundleId: appBundleId,
28-
deepLink: "https://deeplinks.flutterbountyhunters.com",
29-
verbose: true,
30-
(driver) async {
31-
await driver.waitFor(find.text("Home Screen"));
32-
await Future.delayed(const Duration(seconds: 3));
33-
},
34-
);
34+
// testDeepLinkIosAppLaunch(
35+
// "home screen",
36+
// appBundleId: appBundleId,
37+
// deepLink: "https://deeplinks.flutterbountyhunters.com",
38+
// verbose: true,
39+
// (driver) async {
40+
// await driver.waitFor(find.text("Home Screen"));
41+
// await Future.delayed(const Duration(seconds: 3));
42+
// },
43+
// );
3544

3645
// testDeepLinkIosAppLaunch(
3746
// "sign-up screen",

0 commit comments

Comments
 (0)