Resolve TODOs in channels integration test (#130745)

They were helpful in diagnosing the flake in https://github.com/flutter/flutter/issues/116663, but now that that's resolved they have outlived their usefulness. Let's remove 'em!
This commit is contained in:
Michael Goderbauer
2023-07-17 15:05:37 -07:00
committed by GitHub
parent ede545cd8b
commit 2dbf594fde

View File

@@ -3,7 +3,6 @@
// found in the LICENSE file.
import 'package:channels/main.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -14,9 +13,6 @@ String getStatus(WidgetTester tester) => tester.widget<Text>(statusField).data!;
void main() {
testWidgets('step through', (WidgetTester tester) async {
// TODO(goderbauer): Remove this once https://github.com/flutter/flutter/issues/116663 is diagnosed.
debugPrintHitTestResults = true;
await tester.pumpWidget(const TestApp());
await tester.pumpAndSettle();
@@ -37,9 +33,6 @@ void main() {
}
}
// TODO(goderbauer): Remove this once https://github.com/flutter/flutter/issues/116663 is diagnosed.
debugPrintHitTestResults = false;
final String status = getStatus(tester);
if (status != 'complete') {
fail('Failed at step $step with status $status');