From 12397fba6d2c75cdb33d997a7e2c10f059f73ef9 Mon Sep 17 00:00:00 2001 From: Angjie Li <56002538+angjieli@users.noreply.github.com> Date: Thu, 30 Jul 2020 13:40:04 -0700 Subject: [PATCH] Allow Flutter Web Driver testing in debug mode. (#62577) --- packages/flutter_tools/lib/src/commands/drive.dart | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/packages/flutter_tools/lib/src/commands/drive.dart b/packages/flutter_tools/lib/src/commands/drive.dart index ad0876f07a..66cc1ee5f4 100644 --- a/packages/flutter_tools/lib/src/commands/drive.dart +++ b/packages/flutter_tools/lib/src/commands/drive.dart @@ -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) {