未验证 提交 4220301e 编写于 作者: N nturgut 提交者: GitHub

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

上级 f27729e9
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
## Map for driver versions to use for each browser version. ## Map for driver versions to use for each browser version.
## See: https://chromedriver.chromium.org/downloads ## See: https://chromedriver.chromium.org/downloads
chrome: chrome:
85: '85.0.4183.38'
84: '84.0.4147.30'
83: '83.0.4103.39' 83: '83.0.4103.39'
81: '81.0.4044.69' 81: '81.0.4044.69'
80: '80.0.3987.106' 80: '80.0.3987.106'
......
...@@ -128,17 +128,13 @@ class TestCommand extends Command<bool> with ArgUtils { ...@@ -128,17 +128,13 @@ class TestCommand extends Command<bool> with ArgUtils {
case TestTypesRequested.unit: case TestTypesRequested.unit:
return runUnitTests(); return runUnitTests();
case TestTypesRequested.integration: case TestTypesRequested.integration:
// TODO(nurhan): Stop running all integration tests for now. return runIntegrationTests();
// Related to: https://github.com/flutter/flutter/issues/62146
return true; // runIntegrationTests();
case TestTypesRequested.all: case TestTypesRequested.all:
// TODO(nurhan): https://github.com/flutter/flutter/issues/53322 // TODO(nurhan): https://github.com/flutter/flutter/issues/53322
// TODO(nurhan): Expand browser matrix for felt integration tests. // TODO(nurhan): Expand browser matrix for felt integration tests.
if (runAllTests && (isChrome || isSafariOnMacOS || isFirefox)) { if (runAllTests && (isChrome || isSafariOnMacOS || isFirefox)) {
bool unitTestResult = await runUnitTests(); bool unitTestResult = await runUnitTests();
// TODO(nurhan): Stop running all integration tests for now. bool integrationTestResult = await runIntegrationTests();
// Related to: https://github.com/flutter/flutter/issues/62146
bool integrationTestResult = true; // await runIntegrationTests();
if (integrationTestResult != unitTestResult) { if (integrationTestResult != unitTestResult) {
print('Tests run. Integration tests passed: $integrationTestResult ' print('Tests run. Integration tests passed: $integrationTestResult '
'unit tests passed: $unitTestResult'); 'unit tests passed: $unitTestResult');
......
...@@ -2,7 +2,7 @@ name: ui ...@@ -2,7 +2,7 @@ name: ui
publish_to: none publish_to: none
environment: environment:
sdk: ">=2.9.0-0 <3.0.0" sdk: ">=2.10.0-0 <3.0.0"
dependencies: dependencies:
meta: 1.1.8 meta: 1.1.8
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册