fix the issue in the test and remove them from the blacklist for chrome (#18441)

diff --git a/e2etests/web/regular_integration_tests/test_driver/target_platform_android_e2e.dart b/e2etests/web/regular_integration_tests/test_driver/target_platform_android_e2e.dart
index 55eb60e..0e3cab4 100644
--- a/e2etests/web/regular_integration_tests/test_driver/target_platform_android_e2e.dart
+++ b/e2etests/web/regular_integration_tests/test_driver/target_platform_android_e2e.dart
@@ -2,10 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-import 'dart:html';
-import 'package:flutter/services.dart';
 import 'package:flutter_test/flutter_test.dart';
-import 'package:regular_integration_tests/text_editing_main.dart' as app;
+import 'package:regular_integration_tests/target_platform_main.dart' as app;
 import 'package:flutter/material.dart';
 
 import 'package:e2e/e2e.dart';
diff --git a/e2etests/web/regular_integration_tests/test_driver/target_platform_ios_e2e.dart b/e2etests/web/regular_integration_tests/test_driver/target_platform_ios_e2e.dart
index e1c5d00..6f32322 100644
--- a/e2etests/web/regular_integration_tests/test_driver/target_platform_ios_e2e.dart
+++ b/e2etests/web/regular_integration_tests/test_driver/target_platform_ios_e2e.dart
@@ -2,10 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-import 'dart:html';
-import 'package:flutter/services.dart';
 import 'package:flutter_test/flutter_test.dart';
-import 'package:regular_integration_tests/text_editing_main.dart' as app;
+import 'package:regular_integration_tests/target_platform_main.dart' as app;
 import 'package:flutter/material.dart';
 
 import 'package:e2e/e2e.dart';
diff --git a/e2etests/web/regular_integration_tests/test_driver/target_platform_macos_e2e.dart b/e2etests/web/regular_integration_tests/test_driver/target_platform_macos_e2e.dart
index e9933c6..c996a31 100644
--- a/e2etests/web/regular_integration_tests/test_driver/target_platform_macos_e2e.dart
+++ b/e2etests/web/regular_integration_tests/test_driver/target_platform_macos_e2e.dart
@@ -2,10 +2,8 @@
 // Use of this source code is governed by a BSD-style license that can be
 // found in the LICENSE file.
 
-import 'dart:html';
-import 'package:flutter/services.dart';
 import 'package:flutter_test/flutter_test.dart';
-import 'package:regular_integration_tests/text_editing_main.dart' as app;
+import 'package:regular_integration_tests/target_platform_main.dart' as app;
 import 'package:flutter/material.dart';
 
 import 'package:e2e/e2e.dart';
diff --git a/lib/web_ui/dev/integration_tests_manager.dart b/lib/web_ui/dev/integration_tests_manager.dart
index 04e7da3..46206ff 100644
--- a/lib/web_ui/dev/integration_tests_manager.dart
+++ b/lib/web_ui/dev/integration_tests_manager.dart
@@ -376,11 +376,9 @@
   'chrome-linux': [
     'target_platform_ios_e2e.dart',
     'target_platform_macos_e2e.dart',
-    'target_platform_android_e2e.dart',
   ],
   'chrome-macos': [
     'target_platform_ios_e2e.dart',
-    'target_platform_macos_e2e.dart',
     'target_platform_android_e2e.dart',
   ],
 };