[web] add web-renderer option to flutter test. run web tests with this option (#73069)

* add web-renderer option to flutter test. run web tests with this option

* remove debug lines
diff --git a/dev/bots/test.dart b/dev/bots/test.dart
index 211f522..93ac203 100644
--- a/dev/bots/test.dart
+++ b/dev/bots/test.dart
@@ -1192,6 +1192,8 @@
         '--concurrency=1',  // do not parallelize on Cirrus, to reduce flakiness
       '-v',
       '--platform=chrome',
+      // TODO(ferhatb): Run web tests with both rendering backends.
+      '--web-renderer=html', // use html backend for web tests.
       '--sound-null-safety', // web tests do not autodetect yet.
       ...?flutterTestArgs,
       ...tests,
diff --git a/packages/flutter_tools/lib/src/commands/test.dart b/packages/flutter_tools/lib/src/commands/test.dart
index f52a73c..3a65173 100644
--- a/packages/flutter_tools/lib/src/commands/test.dart
+++ b/packages/flutter_tools/lib/src/commands/test.dart
@@ -32,6 +32,7 @@
     usesTrackWidgetCreation(verboseHelp: verboseHelp);
     addEnableExperimentation(hide: !verboseHelp);
     usesDartDefineOption();
+    usesWebRendererOption();
     argParser
       ..addMultiOption('name',
         help: 'A regular expression matching substrings of the names of tests to run.',