@@ -38,9 +38,6 @@ void main() {
38
38
runner = CommandRunner <void >(
39
39
'drive_examples_command' , 'Test for drive_example_command' );
40
40
runner.addCommand (command);
41
-
42
- // TODO(dit): Clean this up, https://github.com/flutter/flutter/issues/151869
43
- mockPlatform.environment['CHANNEL' ] = 'master' ;
44
41
});
45
42
46
43
void setMockFlutterDevicesOutput ({
@@ -760,60 +757,6 @@ void main() {
760
757
]));
761
758
});
762
759
763
- // TODO(dit): Clean this up, https://github.com/flutter/flutter/issues/151869
764
- test ('drives a web plugin (html renderer in stable)' , () async {
765
- // Override the platform to simulate CHANNEL: stable
766
- mockPlatform.environment['CHANNEL' ] = 'stable' ;
767
-
768
- final RepositoryPackage plugin = createFakePlugin (
769
- 'plugin' ,
770
- packagesDir,
771
- extraFiles: < String > [
772
- 'example/integration_test/plugin_test.dart' ,
773
- 'example/test_driver/integration_test.dart' ,
774
- 'example/web/index.html' ,
775
- ],
776
- platformSupport: < String , PlatformDetails > {
777
- platformWeb: const PlatformDetails (PlatformSupport .inline),
778
- },
779
- );
780
-
781
- final Directory pluginExampleDirectory = getExampleDir (plugin);
782
-
783
- final List <String > output = await runCapturingPrint (runner, < String > [
784
- 'drive-examples' ,
785
- '--web' ,
786
- ]);
787
-
788
- expect (
789
- output,
790
- containsAllInOrder (< Matcher > [
791
- contains ('Running for plugin' ),
792
- contains ('No issues found!' ),
793
- ]),
794
- );
795
-
796
- expect (
797
- processRunner.recordedCalls,
798
- orderedEquals (< ProcessCall > [
799
- ProcessCall (
800
- getFlutterCommand (mockPlatform),
801
- const < String > [
802
- 'drive' ,
803
- '-d' ,
804
- 'web-server' ,
805
- '--web-port=7357' ,
806
- '--browser-name=chrome' ,
807
- '--web-renderer=html' ,
808
- '--driver' ,
809
- 'test_driver/integration_test.dart' ,
810
- '--target' ,
811
- 'integration_test/plugin_test.dart' ,
812
- ],
813
- pluginExampleDirectory.path),
814
- ]));
815
- });
816
-
817
760
test ('runs chromedriver when requested' , () async {
818
761
final RepositoryPackage plugin = createFakePlugin (
819
762
'plugin' ,
0 commit comments