Allow Flutter Web Driver testing in debug mode. (#62577)

This commit is contained in:
Angjie Li
2020-07-30 13:40:04 -07:00
committed by GitHub
parent 638a944984
commit 12397fba6d

View File

@@ -188,17 +188,6 @@ class DriveCommand extends RunCommandBase {
);
}
if (isWebPlatform && buildInfo.isDebug) {
// TODO(angjieli): remove this once running against
// target under test_driver in debug mode is supported
throwToolExit(
'Flutter Driver web does not support running in debug mode.\n'
'\n'
'Use --profile mode for testing application performance.\n'
'Use --release mode for testing correctness (with assertions).'
);
}
Uri webUri;
if (isWebPlatform) {