re-enable integration tests. increase sdk version. (flutter/engine#20075)

This commit is contained in:
nturgut
2020-07-27 19:37:47 -07:00
committed by GitHub
parent f491fb0126
commit 81f2d37070
3 changed files with 5 additions and 7 deletions

View File

@@ -2,6 +2,8 @@
## Map for driver versions to use for each browser version.
## See: https://chromedriver.chromium.org/downloads
chrome:
85: '85.0.4183.38'
84: '84.0.4147.30'
83: '83.0.4103.39'
81: '81.0.4044.69'
80: '80.0.3987.106'

View File

@@ -128,17 +128,13 @@ class TestCommand extends Command<bool> with ArgUtils {
case TestTypesRequested.unit:
return runUnitTests();
case TestTypesRequested.integration:
// TODO(nurhan): Stop running all integration tests for now.
// Related to: https://github.com/flutter/flutter/issues/62146
return true; // runIntegrationTests();
return runIntegrationTests();
case TestTypesRequested.all:
// TODO(nurhan): https://github.com/flutter/flutter/issues/53322
// TODO(nurhan): Expand browser matrix for felt integration tests.
if (runAllTests && (isChrome || isSafariOnMacOS || isFirefox)) {
bool unitTestResult = await runUnitTests();
// TODO(nurhan): Stop running all integration tests for now.
// Related to: https://github.com/flutter/flutter/issues/62146
bool integrationTestResult = true; // await runIntegrationTests();
bool integrationTestResult = await runIntegrationTests();
if (integrationTestResult != unitTestResult) {
print('Tests run. Integration tests passed: $integrationTestResult '
'unit tests passed: $unitTestResult');

View File

@@ -2,7 +2,7 @@ name: ui
publish_to: none
environment:
sdk: ">=2.9.0-0 <3.0.0"
sdk: ">=2.10.0-0 <3.0.0"
dependencies:
meta: 1.1.8