add2app test (#27712)

* add2app test
diff --git a/dev/bots/test.dart b/dev/bots/test.dart
index 947d0d02..23f7126 100644
--- a/dev/bots/test.dart
+++ b/dev/bots/test.dart
@@ -23,6 +23,7 @@
   'tool_tests': _runToolTests,
   'build_tests': _runBuildTests,
   'coverage': _runCoverage,
+  'add2app_test': _runAdd2AppTest,
 };
 
 const Duration _kLongTimeout = Duration(minutes: 45);
@@ -236,6 +237,21 @@
   print('Done.');
 }
 
+Future<void> _runAdd2AppTest() async {
+  if (!Platform.isMacOS) {
+    return;
+  }
+  print('Running Add2App iOS integration tests...');
+  final String add2AppDir = path.join(flutterRoot, 'dev', 'integration_tests', 'ios_add2app');
+  await runCommand('./build_and_test.sh',
+    <String>[],
+    workingDirectory: add2AppDir,
+    expectNonZeroExit: false,
+    timeout: _kShortTimeout,
+  );
+  print('Done.');
+}
+
 Future<void> _runTests() async {
   await _runSmokeTests();