Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit df95952

Browse files
committed
reduce e2e test matrix
1 parent 22e1143 commit df95952

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

lib/web_ui/dev/integration_tests_manager.dart

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -240,21 +240,23 @@ class IntegrationTestsManager {
240240
}
241241

242242
Set<String> _getBuildModes() {
243-
Set<String> buildModes;
244-
if (_buildModeSelected) {
245-
final String mode = IntegrationTestsArgumentParser.instance.buildMode;
246-
if (mode == 'debug' && _browser != 'chrome') {
247-
throw ToolException('Debug mode is only supported for Chrome.');
248-
} else {
249-
buildModes = <String>{mode};
250-
}
251-
} else {
252-
// TODO(nurhan): Enable `release` when recipe is sharded.
253-
buildModes = _browser == 'chrome'
254-
? {'debug', 'profile'}
255-
: {'profile'};
256-
}
257-
return buildModes;
243+
// TODO(yjbanov): reenable all modes when sharding is available.
244+
return <String>{'profile'};
245+
// Set<String> buildModes;
246+
// if (_buildModeSelected) {
247+
// final String mode = IntegrationTestsArgumentParser.instance.buildMode;
248+
// if (mode == 'debug' && _browser != 'chrome') {
249+
// throw ToolException('Debug mode is only supported for Chrome.');
250+
// } else {
251+
// buildModes = <String>{mode};
252+
// }
253+
// } else {
254+
// // TODO(nurhan): Enable `release` when recipe is sharded.
255+
// buildModes = _browser == 'chrome'
256+
// ? {'debug', 'profile'}
257+
// : {'profile'};
258+
// }
259+
// return buildModes;
258260
}
259261

260262
/// Validate the directory has a `pubspec.yaml` file and a `test_driver`

0 commit comments

Comments
 (0)