Unverified Commit 985e5ff3 authored by nturgut's avatar nturgut Committed by GitHub

[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
parent 5113c50a
......@@ -1192,6 +1192,8 @@ Future<void> _runFlutterWebTest(String workingDirectory, List<String> tests) asy
'--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,
......
......@@ -32,6 +32,7 @@ class TestCommand extends FlutterCommand {
usesTrackWidgetCreation(verboseHelp: verboseHelp);
addEnableExperimentation(hide: !verboseHelp);
usesDartDefineOption();
usesWebRendererOption();
argParser
..addMultiOption('name',
help: 'A regular expression matching substrings of the names of tests to run.',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment