Unverified Commit 33f4f8e6 authored by Yegor's avatar Yegor Committed by GitHub

run services tests on the Web (#41806)

parent 8c6d60bc
...@@ -435,13 +435,12 @@ Future<void> _runTests() async { ...@@ -435,13 +435,12 @@ Future<void> _runTests() async {
} }
Future<void> _runWebTests() async { Future<void> _runWebTests() async {
// TODO(yjbanov): re-enable when web test cirrus flakiness is resolved
await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), tests: <String>[ await _runFlutterWebTest(path.join(flutterRoot, 'packages', 'flutter'), tests: <String>[
'test/foundation/', 'test/foundation/',
'test/physics/', 'test/physics/',
'test/services/',
// TODO(yjbanov): re-enable when flakiness is resolved // TODO(yjbanov): re-enable when flakiness is resolved
// 'test/rendering/', // 'test/rendering/',
// 'test/services/',
// 'test/painting/', // 'test/painting/',
// 'test/scheduler/', // 'test/scheduler/',
// 'test/semantics/', // 'test/semantics/',
......
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
// TODO(yjbanov): enable Web when https://github.com/flutter/engine/pull/12747 rolls into the framework.
@TestOn('!chrome')
import 'dart:convert'; import 'dart:convert';
import 'dart:typed_data'; import 'dart:typed_data';
import 'dart:ui' as ui; import 'dart:ui' as ui;
...@@ -39,7 +42,7 @@ void main() { ...@@ -39,7 +42,7 @@ void main() {
bool didDrainData = false; bool didDrainData = false;
binding.defaultBinaryMessenger.setMessageHandler(channel, (ByteData message) async { binding.defaultBinaryMessenger.setMessageHandler(channel, (ByteData message) async {
expect(_getString(message), payload); expect(_getString(message), payload);
didDrainData= true; didDrainData = true;
return null; return null;
}); });
// Flush the event queue. // Flush the event queue.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment