Always test semantics (#35110)

Default `semanticsEnabled` to true for `testWidgets` and fix associated bugs
This commit is contained in:
Dan Field
2019-06-28 12:40:23 -07:00
committed by GitHub
parent 97127730f2
commit 3eb40925e5
21 changed files with 107 additions and 52 deletions

View File

@@ -103,7 +103,7 @@ void main() {
expect(response['isError'], true);
expect(response['response'], contains('Bad state: No semantics data found'));
});
}, semanticsEnabled: false);
testWidgets('throws state error multiple matches are found', (WidgetTester tester) async {
final SemanticsHandle semantics = RendererBinding.instance.pipelineOwner.ensureSemantics();