Skip to content

Commit

Permalink
Merge pull request #2244 from leancodepl/docs/fix-comment-about-using…
Browse files Browse the repository at this point in the history
…-proper-classname-in-android-config

Fix comment about using proper classname in MainActivityTest.java
  • Loading branch information
pdenert authored Jun 25, 2024
2 parents d64c1b6 + 0e64f9a commit 074fde4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ Psst... Android is a bit easier to set up, so we recommend starting with it!
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"
// if in AndroidManifest.xml in manifest/application/activity you have
// android:name="io.flutter.embedding.android.FlutterActivity"
instrumentation.setUp(MainActivity.class);
instrumentation.waitForPatrolAppService();
return instrumentation.listDartTests();
Expand Down

0 comments on commit 074fde4

Please sign in to comment.