diff --git a/packages/patrol/example/integration_test/example_test.dart b/packages/patrol/example/integration_test/example_test.dart index 19d000fcb6..267db35520 100644 --- a/packages/patrol/example/integration_test/example_test.dart +++ b/packages/patrol/example/integration_test/example_test.dart @@ -1,3 +1,6 @@ +import 'package:patrol/src/extensions.dart'; +import 'package:test_api/src/backend/invoker.dart'; + import 'common.dart'; void main() { @@ -24,6 +27,10 @@ void main() { Future _testBody(PatrolTester $) async { await createApp($); + + final testName = Invoker.current!.fullCurrentTestName(); + await $(#textField).enterText(testName); + await $.native.pressHome(); await $.native.openApp(); }