iSeeText function

Future<void> iSeeText(
  1. WidgetTester tester,
  2. String text
)

Example: When I see {'text'} text

Implementation

Future<void> iSeeText(
  WidgetTester tester,
  String text,
) async {
  expect(find.text(text), findsOneWidget);
}