Skip to content

Commit

Permalink
Update getting-started.mdx (#1873)
Browse files Browse the repository at this point in the history
Fix #1872
  • Loading branch information
SebastienBtr authored Nov 7, 2023
1 parent bc33bbf commit bcdad8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ Psst... Android is a bit easier to set up, so we recommend starting with it!
@Parameters(name = "{0}")
public static Object[] testCases() {
PatrolJUnitRunner instrumentation = (PatrolJUnitRunner) InstrumentationRegistry.getInstrumentation();
// replace "MainActivity.class" with "io.flutter.embedding.android.FlutterActivity.class"
// if your AndroidManifest is using: android:name="io.flutter.embedding.android.FlutterActivity"
instrumentation.setUp(MainActivity.class);
instrumentation.waitForPatrolAppService();
return instrumentation.listDartTests();
Expand Down

0 comments on commit bcdad8b

Please sign in to comment.